slack: remove duplicate as_user

This commit is contained in:
Chris Sexton 2017-11-09 10:38:31 -05:00
parent dff629d367
commit 11bb338e6b
1 changed files with 0 additions and 2 deletions

View File

@ -211,7 +211,6 @@ func (s *Slack) SendMessageType(channel, message string, meMessage bool) (string
"as_user": {"true"},
"channel": {channel},
"text": {message},
"as_user": {"true"},
})
if err != nil {
@ -262,7 +261,6 @@ func (s *Slack) ReplyToMessageIdentifier(channel, message, identifier string) (s
"as_user": {"true"},
"channel": {channel},
"text": {message},
"as_user": {"true"},
"thread_ts": {identifier},
})