Commit e1e20690 authored by JC Brand's avatar JC Brand

muc: the original stanza must be emitted

Otherwise other plugins don't know whether the message was forwarded or not.
parent eb82d644
......@@ -1900,7 +1900,7 @@
this.model.createMessage(message, delay, original_stanza);
if (sender !== this.model.get('nick')) {
// We only emit an event if it's not our own message
_converse.emit('message', message);
_converse.emit('message', original_stanza);
}
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment