changeset 2051:1dc3c7680ea0

quick_frontend (chat): fixed hash generation, tuple was causing trouble when used with unicode() because of dbus.String
author Goffi <goffi@goffi.org>
date Sun, 28 Aug 2016 19:42:48 +0200
parents 046449cc2bff
children d44efd32bc2f
files frontends/src/quick_frontend/quick_chat.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_chat.py	Sun Aug 28 19:23:58 2016 +0200
+++ b/frontends/src/quick_frontend/quick_chat.py	Sun Aug 28 19:42:48 2016 +0200
@@ -226,7 +226,7 @@
     @staticmethod
     def getWidgetHash(target, profiles):
         profile = list(profiles)[0]
-        return (profile, target.bare)
+        return profile + "\n" + target.bare
 
     @staticmethod
     def getPrivateHash(target, profile):