From f5ad1f9f4e7a5d28f7b2b1fd9d8b2c0e66f575c2 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sun, 12 May 2013 22:37:54 -0700 Subject: [PATCH] Clear requests properly --- js/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {