expose some more fields on contacts

This commit is contained in:
Pedro Lopez 2020-02-08 01:12:25 -04:00
commit 004312a99f

View file

@ -140,6 +140,12 @@ exports.LoadUtils = () => {
res.businessProfile = contact.businessProfile.serialize();
}
res.isMe = contact.isMe;
res.isUser = contact.isUser;
res.isGroup = contact.isGroup;
res.isWAContact = contact.isWAContact;
res.isMyContact = contact.isMyContact;
return res;
};