Skip to content

Commit

Permalink
Fix broken chat code on server
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h authored May 27, 2024
1 parent c7fbf7a commit cccdef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncplay/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def sendNewControlledRoom(self, roomBaseName, password):
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
Expand Down

0 comments on commit cccdef3

Please sign in to comment.