mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fix crash on read receipt event if no listeners
// FREEBIE
This commit is contained in:
@@ -251,8 +251,10 @@
|
||||
id: message.get('conversationId')
|
||||
});
|
||||
|
||||
// notify frontend listeners
|
||||
conversation.trigger('read', message);
|
||||
if (conversation) {
|
||||
// notify frontend listeners
|
||||
conversation.trigger('read', message);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user