changeset 1133:7e6856902488

primivitus: fixed jid escaping for dynamic menus in one2one chat
author Goffi <goffi@goffi.org>
date Mon, 25 Aug 2014 21:32:23 +0200
parents 4ab93557976e
children 8def4a3f55c2
files frontends/src/primitivus/chat.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/primitivus/chat.py	Mon Aug 25 19:39:07 2014 +0200
+++ b/frontends/src/primitivus/chat.py	Mon Aug 25 21:32:23 2014 +0200
@@ -136,7 +136,7 @@
             game = _("Game")
             menu.addMenu(game, "Tarot", self.onTarotRequest)
         elif self.type == 'one2one':
-            self.host.addMenus(menu, C.MENU_SINGLE, {'jid': self.target})
+            self.host.addMenus(menu, C.MENU_SINGLE, {'jid': unescapePrivate(self.target)})
             menu.addMenu(_("Action"), _("Send file"), self.onSendFileRequest)
         return menu