Fix broken chat code on server
This commit is contained in:
parent
c7fbf7ab6e
commit
cccdef33ef
@ -791,7 +791,7 @@ class Watcher(object):
|
|||||||
def sendControlledRoomAuthStatus(self, success, username, room):
|
def sendControlledRoomAuthStatus(self, success, username, room):
|
||||||
self._connector.sendControlledRoomAuthStatus(success, username, room)
|
self._connector.sendControlledRoomAuthStatus(success, username, room)
|
||||||
|
|
||||||
def sendChatMessage(self, message, skipIfSupportsFeature):
|
def sendChatMessage(self, message, skipIfSupportsFeature=None):
|
||||||
if self._connector.meetsMinVersion(constants.CHAT_MIN_VERSION):
|
if self._connector.meetsMinVersion(constants.CHAT_MIN_VERSION):
|
||||||
if skipIfSupportsFeature and self.supportsFeature(skipIfSupportsFeature):
|
if skipIfSupportsFeature and self.supportsFeature(skipIfSupportsFeature):
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user