From 11bb338e6b91dee28db8ae59845486ea3412e725 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Thu, 9 Nov 2017 10:38:31 -0500 Subject: [PATCH] slack: remove duplicate as_user --- slack/slack.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/slack/slack.go b/slack/slack.go index 42a6a65..9bd317b 100644 --- a/slack/slack.go +++ b/slack/slack.go @@ -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}, })