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

Method sendUserSetting

syncplay/protocols.py:653–661  ·  view source on GitHub ↗
(self, username, room, file_, event)

Source from the content-addressed store, hash-verified

651 })
652
653 def sendUserSetting(self, username, room, file_, event):
654 room = {"name": room.getName()}
655 user = {username: {}}
656 user[username]["room"] = room
657 if file_:
658 user[username]["file"] = file_
659 if event:
660 user[username]["event"] = event
661 self.sendSet({"user": user})
662
663 def _addUserOnList(self, userlist, watcher):
664 room = watcher.getRoom()

Callers 1

sendSettingMethod · 0.80

Calls 2

sendSetMethod · 0.95
getNameMethod · 0.45

Tested by

no test coverage detected