Commit b93d43d2 authored by JC Brand's avatar JC Brand

Also store message id for received messages. updates #240

parent a717cc46
......@@ -894,6 +894,7 @@
delayed = $message.find('delay').length > 0,
fullname = this.get('fullname'),
is_groupchat = $message.attr('type') === 'groupchat',
msgid = $message.attr('id'),
stamp, time, sender, from;
if (is_groupchat) {
......@@ -931,7 +932,8 @@
sender: sender,
delayed: delayed,
time: time,
message: body
message: body,
msgid: msgid
});
}
},
......
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