mirror of https://github.com/Syncplay/syncplay
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):
|
||||
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 skipIfSupportsFeature and self.supportsFeature(skipIfSupportsFeature):
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue