diff --git a/js/client.js b/js/client.js index ea0d3f0a1..553a1251f 100644 --- a/js/client.js +++ b/js/client.js @@ -479,7 +479,7 @@ // Legacy if (self.rooms['']) self.rooms[''].updateSearch(data); } - if (data.request) { + if ('request' in data) { // Legacy var room = self.rooms[data.room]; if (room && room.receiveRequest) {