(self, watcherProtocol, username, roomName)
| 123 | return "" |
| 124 | |
| 125 | def addWatcher(self, watcherProtocol, username, roomName): |
| 126 | roomName = truncateText(roomName, constants.MAX_ROOM_NAME_LENGTH) |
| 127 | username = self._roomManager.findFreeUsername(username, self.maxUsernameLength) |
| 128 | watcher = Watcher(self, watcherProtocol, username) |
| 129 | self.setWatcherRoom(watcher, roomName, asJoin=True) |
| 130 | |
| 131 | def setWatcherRoom(self, watcher, roomName, asJoin=False): |
| 132 | roomName = truncateText(roomName, constants.MAX_ROOM_NAME_LENGTH) |
nothing calls this directly
no test coverage detected