Commit f7b19053 authored by JC Brand's avatar JC Brand

Use `origin_id` as `id` for outgoing messages as well

parent a0f1a5cf
...@@ -557,6 +557,7 @@ converse.plugins.add('converse-chatboxes', { ...@@ -557,6 +557,7 @@ converse.plugins.add('converse-chatboxes', {
const is_spoiler = this.get('composing_spoiler'); const is_spoiler = this.get('composing_spoiler');
const origin_id = _converse.connection.getUniqueId(); const origin_id = _converse.connection.getUniqueId();
return { return {
'id': origin_id,
'jid': this.get('jid'), 'jid': this.get('jid'),
'nickname': this.get('nickname'), 'nickname': this.get('nickname'),
'msgid': origin_id, 'msgid': origin_id,
......
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