From d4ec7dac6ee2b66b671b9e7f71a5afa8443649b6 Mon Sep 17 00:00:00 2001 From: Uriziel Date: Fri, 14 Dec 2012 22:36:44 +0100 Subject: [PATCH] Message about file you're playing was redundant --- syncplay/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/client.py b/syncplay/client.py index e2c807a..d2d09a5 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -350,7 +350,7 @@ class SyncplayUserlist(object): if (room and not file_): message = "<{}> has joined the room: '{}'".format(username, room) self.ui.showMessage(message) - elif (room and file_): + elif (room and file_ and username != self.currentUser.username): duration = self.ui.formatTime(file_['duration']) message = "<{}> is playing '{}' ({})".format(username, file_['name'], duration) if(self.currentUser.room <> room or self.currentUser.username == username):