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)