Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 1449eed06437c22bd5ebca5b4fd394845b043e12 Author: Wim <wim@42.be> Date: Sun Oct 24 23:15:46 2021 +0000 Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623) diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 6a0564e..687ca07 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -1287 +1286 @@ func (b *Bxmpp) Send(msg config.Message) (string, error) {   var msgReplaceID string   msgID := xid.New().String()   if msg.ID != "" { - msgID = msg.ID   msgReplaceID = msg.ID   }   b.Log.Debugf("=> Sending message %#v", msg)