From c83fb4a63041f762b8c0ee46caa7baa05d2e0c23 Mon Sep 17 00:00:00 2001 From: Uriziel Date: Tue, 16 Oct 2012 19:48:31 +0200 Subject: [PATCH] List sent is every time after file update --- syncplay/protocols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/protocols.py b/syncplay/protocols.py index 713e232..8a0bb51 100644 --- a/syncplay/protocols.py +++ b/syncplay/protocols.py @@ -89,7 +89,6 @@ class SyncClientProtocol(JSONCommandProtocol): self._client.setRoom(roomName) self.logged = True self._client.sendFile() - self.sendList() def sendHello(self): hello = {} @@ -135,6 +134,7 @@ class SyncClientProtocol(JSONCommandProtocol): def sendFileSetting(self, file_): self.sendSet({"file": file_}) + self.sendList() def handleList(self, userList): self._client.userlist.clearList()