Skip to content

Commit

Permalink
Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
42wim committed Oct 24, 2021
1 parent b1f4031 commit c4fe462
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bridge/xmpp/xmpp.go
Expand Up @@ -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)
Expand Down

0 comments on commit c4fe462

Please sign in to comment.