diff options
author | Wim <wim@42.be> | 2021-10-24 23:15:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-24 23:15:46 +0200 |
commit | c4fe462d11c9949c9132e65fd9bf40a71c38d61c (patch) | |
tree | 8d8f4dee59b10a5657bf653fa17e3e1aa316127e /bridge | |
parent | b1f403165d6df6af1010ab49305a5968a8a8c4b6 (diff) | |
download | matterbridge-msglm-c4fe462d11c9949c9132e65fd9bf40a71c38d61c.tar.gz matterbridge-msglm-c4fe462d11c9949c9132e65fd9bf40a71c38d61c.tar.bz2 matterbridge-msglm-c4fe462d11c9949c9132e65fd9bf40a71c38d61c.zip |
Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623)
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/xmpp/xmpp.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 6a0564ea..687ca071 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -128,7 +128,6 @@ 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) |