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

Method onDisconnect

syncplay/client.py:473–476  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

471 self.ui.showMessage(getMessage("current-offset-notification").format(self._userOffset))
472
473 def onDisconnect(self):
474 if self._config['pauseOnLeave']:
475 self.setPaused(True)
476 self.lastPausedOnLeaveTime = time.time()
477
478 def removeUser(self, username):
479 if self.userlist.isUserInYourRoom(username):

Callers 2

removeUserMethod · 0.95
retryMethod · 0.95

Calls 1

setPausedMethod · 0.95

Tested by

no test coverage detected