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

Method setUserAsController

syncplay/client.py:1504–1509  ·  view source on GitHub ↗
(self, username)

Source from the content-addressed store, hash-verified

1502 self.userListChange(room)
1503
1504 def setUserAsController(self, username):
1505 if self.currentUser.username == username:
1506 self.currentUser.setControllerStatus(True)
1507 elif username in self._users:
1508 user = self._users[username]
1509 user.setControllerStatus(True)
1510
1511 def areAllRelevantUsersInRoomReady(self, requireSameFilenames=False):
1512 if not self.currentUser.isReady():

Callers 1

Calls 1

setControllerStatusMethod · 0.45

Tested by

no test coverage detected