short ui update

This commit is contained in:
ingvar1995 2016-07-02 22:19:04 +03:00
parent 3990487701
commit daa0053e4b
7 changed files with 24 additions and 23 deletions

View file

@ -393,6 +393,7 @@ class Profile(contact.Contact, Singleton):
plugin_support.PluginLoader.get_instance().command(text[8:])
self._screen.messageEdit.clear()
elif text and self._active_friend + 1:
text = ''.join(c if c <= '\u10FFFF' else '\u25AF' for c in text)
if text.startswith('/me '):
message_type = TOX_MESSAGE_TYPE['ACTION']
text = text[4:]