summaryrefslogtreecommitdiffstats
path: root/bridge/slack/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/slack/handlers.go')
-rw-r--r--bridge/slack/handlers.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/bridge/slack/handlers.go b/bridge/slack/handlers.go
index 1428cba2..d6894bf6 100644
--- a/bridge/slack/handlers.go
+++ b/bridge/slack/handlers.go
@@ -166,15 +166,14 @@ func (b *Bslack) handleMessageEvent(ev *slack.MessageEvent) (*config.Message, er
}
rmsg := config.Message{
- Text: ev.Text,
- Channel: channelInfo.Name,
- Account: b.Account,
- ID: "slack " + ev.Timestamp,
- Extra: map[string][]interface{}{},
+ Text: ev.Text,
+ Channel: channelInfo.Name,
+ Account: b.Account,
+ ID: "slack " + ev.Timestamp,
+ Extra: map[string][]interface{}{},
ParentID: ev.ThreadTimestamp,
}
-
if b.useChannelID {
rmsg.Channel = "ID:" + channelInfo.ID
}