commit 12e514a8af46a9aaf8fc9e8e50b76c45666f0d8f
Author: Wim <wim@42.be>
Date: Mon Apr 08 23:30:22 2019 +0000
diff --git a/bridge/rocketchat/rocketchat.go b/bridge/rocketchat/rocketchat.go
index fa1dd28..59f0e99 100644
--- a/bridge/rocketchat/rocketchat.go
+++ b/bridge/rocketchat/rocketchat.go
@@ -1086 +10811 @@ func (b *Brocketchat) Send(msg config.Message) (string, error) {
msg.Channel = strings.TrimPrefix(msg.Channel, "#")
channel := &models.Channel{ID: b.getChannelID(msg.Channel), Name: msg.Channel}
+ // Make a action /me of the message
+ if msg.Event == config.EventUserAction {
+ msg.Text = "_" + msg.Text + "_"
+ }
+
// Delete message
if msg.Event == config.EventMsgDelete {
if msg.ID == "" {