Fix ready/not-ready notifications being reversed

This commit is contained in:
Et0h 2017-01-24 11:16:17 +00:00
parent a8881492d7
commit 1a495d590e

View File

@ -229,9 +229,9 @@ class SyncplayClient(object):
self._playerPaused = self._globalPaused
pauseChange = False
if self.userlist.currentUser.isReady():
self.ui.showMessage(getMessage("set-as-ready-notification"))
else:
self.ui.showMessage(getMessage("set-as-not-ready-notification"))
else:
self.ui.showMessage(getMessage("set-as-ready-notification"))
elif not paused and not self.instaplayConditionsMet():
paused = True
self._player.setPaused(paused)