Mercurial > libervia-backend
diff frontends/src/primitivus/chat.py @ 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 | 8870417c8e8c |
children | 75025461141f |
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