# HG changeset patch # User Goffi # Date 1408995143 -7200 # Node ID 7e685690248878a74ae4ac75b1de3c19e8141736 # Parent 4ab93557976e98b2875834ac9ca008b1abafcfc8 primivitus: fixed jid escaping for dynamic menus in one2one chat diff -r 4ab93557976e -r 7e6856902488 frontends/src/primitivus/chat.py --- 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