From e93fb88405165e6e2dc6ee8161db8dc73089597d Mon Sep 17 00:00:00 2001 From: supertiger1234 Date: Tue, 20 Aug 2019 17:11:43 +0100 Subject: [PATCH] fixed mistake: messages wouldnt appear --- src/store/modules/messageModule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/messageModule.js b/src/store/modules/messageModule.js index bc0cb72..832c3bf 100644 --- a/src/store/modules/messageModule.js +++ b/src/store/modules/messageModule.js @@ -76,7 +76,7 @@ const actions = { //check if bottom messages unloaded. const channelID = data.message.channelID; const unloadedList = context.state.bottomUnloaded[channelID]; - if (unloadedList === undefined || unloadedList === true) return + if (unloadedList) return // if the message is sent by this client, add additional information. if (data.sender) {