From f7b19053ec02a9e6f8b00a9d8a66187c44d56b23 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Sat, 18 May 2019 05:32:04 +0200 Subject: [PATCH] Use `origin_id` as `id` for outgoing messages as well --- src/headless/converse-chatboxes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/headless/converse-chatboxes.js b/src/headless/converse-chatboxes.js index c595552f2..086904ac6 100644 --- a/src/headless/converse-chatboxes.js +++ b/src/headless/converse-chatboxes.js @@ -557,6 +557,7 @@ converse.plugins.add('converse-chatboxes', { const is_spoiler = this.get('composing_spoiler'); const origin_id = _converse.connection.getUniqueId(); return { + 'id': origin_id, 'jid': this.get('jid'), 'nickname': this.get('nickname'), 'msgid': origin_id,