mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 15:22:35 -05:00
Clear requests properly
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user