Commit 94639492 authored by JC Brand's avatar JC Brand

Fixes #1601 Message corrections should get their own origin id

parent 0e81234f
...@@ -688,7 +688,8 @@ converse.plugins.add('converse-chatboxes', { ...@@ -688,7 +688,8 @@ converse.plugins.add('converse-chatboxes', {
'edited': (new Date()).toISOString(), 'edited': (new Date()).toISOString(),
'message': attrs.message, 'message': attrs.message,
'older_versions': older_versions, 'older_versions': older_versions,
'references': attrs.references 'references': attrs.references,
'origin_id': _converse.connection.getUniqueId()
}); });
} else { } else {
message = this.messages.create(attrs); message = this.messages.create(attrs);
......
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