fixed mistake: messages wouldnt appear

This commit is contained in:
supertiger1234 2019-08-20 17:11:43 +01:00
parent da33d1d695
commit e93fb88405

View file

@ -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) {