Commit 48c7a830 authored by Killian Kemps's avatar Killian Kemps

Fix isSenderUser property in message's property

This regression has been introduced in previous Merge from image metadata
parent 84335019
......@@ -137,7 +137,7 @@ exports.getThreadHistory = function(api, userID, threadID) {
for (var i = 0; i < filtered_data.length; i++) {
const msg = filtered_data[i];
const userData = userInfoArr[i];
msg.isSenderUser = senderID === userID;
msg.isSenderUser = msg.senderID === 'fbid:' + userID;
msg.senderImage = userData.img;
enhanced_data.push(msg);
}
......
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