Use origin_id as id for outgoing messages as well

This commit is contained in:
JC Brand 2019-05-18 05:32:04 +02:00
parent a0f1a5cfaf
commit f7b19053ec

View File

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