Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623)

pull/1625/head
Wim 3 years ago committed by GitHub
parent b1f403165d
commit c4fe462d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save