Fix room not deleting bug (#434)
This commit is contained in:
parent
a57ea6dec5
commit
7083d8cbbc
@ -465,8 +465,7 @@ class RoomManager(object):
|
||||
oldRoom = watcher.getRoom()
|
||||
if oldRoom:
|
||||
oldRoom.removeWatcher(watcher)
|
||||
if self._roomsDbFile is None:
|
||||
self._deleteRoomIfEmpty(oldRoom)
|
||||
self._deleteRoomIfEmpty(oldRoom)
|
||||
|
||||
def _getRoom(self, roomName):
|
||||
if roomName in self._rooms:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user