primitivus: fixed crash on private messages
This commit is contained in:
parent
eb60e0ff33
commit
a96bbad148
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ from urwid_satext import sat_widgets
|
|||
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 @@ class EditBar(sat_widgets.ModalEdit):
|
|||
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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue