changeset 661:d81f55a58c08

primitivus: fixed crash on private messages
author Goffi <goffi@goffi.org>
date Tue, 15 Oct 2013 23:10:31 +0200
parents 69a8bfd266a5
children 4f747d7fde8c
files frontends/src/primitivus/primitivus
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/primitivus/primitivus	Tue Oct 15 19:28:34 2013 +0200
+++ b/frontends/src/primitivus/primitivus	Tue Oct 15 23:10:31 2013 +0200
@@ -23,7 +23,7 @@
 from urwid_satext.files_management import FileDialog
 from sat_frontends.quick_frontend.quick_app import QuickApp
 from sat_frontends.quick_frontend.quick_chat_list import QuickChatList
-from sat_frontends.quick_frontend.quick_utils import getNewPath
+from sat_frontends.quick_frontend.quick_utils import getNewPath, unescapePrivate
 from sat_frontends.primitivus.profile_manager import ProfileManager
 from sat_frontends.primitivus.contact_list import ContactList
 from sat_frontends.primitivus.chat import Chat
@@ -124,7 +124,7 @@
         if key != "enter":
             contact = self.app.contact_list.getContact()
             if contact:
-                self.app.bridge.chatStateComposing(contact, self.app.profile)
+                self.app.bridge.chatStateComposing(unescapePrivate(contact), self.app.profile)
         return super(EditBar, self).keypress(size, key)