MCPcopy Create free account
hub / github.com/Syncplay/syncplay / sendList

Method sendList

syncplay/server.py:805–813  ·  view source on GitHub ↗
(self, toGUIOnly=False)

Source from the content-addressed store, hash-verified

803 self._connector.sendMessage({"Chat": message})
804
805 def sendList(self, toGUIOnly=False):
806 if toGUIOnly and self.isGUIUser(self._connector.getFeatures()):
807 clientFeatures = self._connector.getFeatures()
808 if "uiMode" in clientFeatures:
809 if clientFeatures["uiMode"] == constants.CONSOLE_UI_MODE:
810 return
811 else:
812 return
813 self._connector.sendList()
814
815 def isGUIUser(self, clientFeatures):
816 clientFeatures = self._connector.getFeatures()

Callers 4

getUserListMethod · 0.45
sendRoomSwitchMessageMethod · 0.45
removeWatcherMethod · 0.45
sendJoinMessageMethod · 0.45

Calls 2

isGUIUserMethod · 0.95
getFeaturesMethod · 0.45

Tested by

no test coverage detected