From c4fe462d11c9949c9132e65fd9bf40a71c38d61c Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 24 Oct 2021 23:15:46 +0200 Subject: Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623) --- bridge/xmpp/xmpp.go | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3