Fix broken chat code on server

This commit is contained in:
Etoh 2024-05-27 20:45:29 +01:00 committed by GitHub
parent c7fbf7ab6e
commit cccdef33ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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