diff cagou/core/common.py @ 220:24f8ab7c08be

core: implemented showDialog so message/dialogs from QuickFrontend are displayed
author Goffi <goffi@goffi.org>
date Tue, 26 Jun 2018 07:11:16 +0200
parents 30be583dbabc
children 059c5b39032d
line wrap: on
line diff
--- a/cagou/core/common.py	Sun Jun 24 22:26:15 2018 +0200
+++ b/cagou/core/common.py	Tue Jun 26 07:11:16 2018 +0200
@@ -56,7 +56,8 @@
             wid.opacity = 0
             return ""
         else:
-            return host.getAvatar(self.jid, profile=self.profile) or host.getDefaultAvatar(self.jid)
+            return (host.getAvatar(self.jid, profile=self.profile)
+                or host.getDefaultAvatar(self.jid))
 
 
 class JidButton(ButtonBehavior, JidItem):