feat: Mention users, get user number from Contact model

This commit is contained in:
Pedro Lopez
2020-02-08 03:19:51 -04:00
parent ef80f966ea
commit 5616613807
5 changed files with 18 additions and 2 deletions

View File

@@ -40,6 +40,8 @@ exports.LoadUtils = () => {
delete options.quotedMessageId;
}
options.mentionedJidList = options.mentionedJidList.map(cId=> window.Store.Contact.get(cId).id);
let locationOptions = {};
if (options.location) {
locationOptions = {
@@ -145,6 +147,7 @@ exports.LoadUtils = () => {
res.isGroup = contact.isGroup;
res.isWAContact = contact.isWAContact;
res.isMyContact = contact.isMyContact;
res.userid = contact.userid;
return res;
};