fix for nullable var
This commit is contained in:
@@ -1394,7 +1394,7 @@
|
||||
// if inbound message is for a conversation we are currently looking at, mark it as read
|
||||
if(this.tab === "messages"
|
||||
&& this.messagesTab === "conversations"
|
||||
&& json.lxmf_message.source_hash === this.selectedPeer.destination_hash){
|
||||
&& json.lxmf_message.source_hash === this.selectedPeer?.destination_hash){
|
||||
|
||||
// find conversation
|
||||
const conversation = this.findConversation(this.selectedPeer.destination_hash);
|
||||
|
||||
Reference in New Issue
Block a user