Check for author id rather than conversation id

This commit is contained in:
Ken Powers 2020-03-25 14:05:57 -04:00 committed by Scott Nonnenberg
parent c780c12df7
commit 4c449019f8

View file

@ -54,9 +54,13 @@
);
const targetMessage = messages.find(m => {
const mcid = m.isOutgoing()
? ConversationController.getOurConversationId()
: m.get('conversationId');
const contact = m.getContact();
if (!contact) {
return false;
}
const mcid = contact.get('id');
const recid = ConversationController.getConversationId(
reaction.get('targetAuthorE164') || reaction.get('targetAuthorUuid')
);