mirror of https://github.com/velour/catbase.git
slack: remove duplicate as_user
This commit is contained in:
parent
dff629d367
commit
11bb338e6b
|
@ -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},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue