mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-11 09:25:14 +00:00
Message about file you're playing was redundant
This commit is contained in:
parent
10a4d3f953
commit
d4ec7dac6e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user