Clear requests properly

This commit is contained in:
Guangcong Luo
2013-05-12 22:37:54 -07:00
parent 9119496c64
commit f5ad1f9f4e

View File

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