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

Method removeUser

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

Source from the content-addressed store, hash-verified

476 self.lastPausedOnLeaveTime = time.time()
477
478 def removeUser(self, username):
479 if self.userlist.isUserInYourRoom(username):
480 self.onDisconnect()
481 self.userlist.removeUser(username)
482
483 def getPlayerPosition(self):
484 if not self._lastPlayerUpdate:

Callers 1

_SetUserMethod · 0.45

Calls 2

onDisconnectMethod · 0.95
isUserInYourRoomMethod · 0.80

Tested by

no test coverage detected