Philipp Hörist pushed to branch master at gajim / gajim


Commits:
c823ef6c by Daniel Brötzmann at 2019-05-15T21:23:46Z
Unify display of URLs in status messages

Status messages in group chats and private chats are now displayed
in the same way as status messages in single chat windows. This
avoids trailing brackets to be appended to a possible hyperlink inside
the status message. Fixes #8470

- - - - -


2 changed files:

- gajim/groupchat_control.py
- gajim/privatechat_control.py


Changes:

=====================================
gajim/groupchat_control.py
=====================================
@@ -1854,7 +1854,7 @@ class GroupchatControl(ChatControlBase):
 
         nick = event.properties.muc_nickname
         status = event.properties.status
-        status = '' if status is None else ' (%s)' % status
+        status = '' if status is None else ' - %s' % status
         show = helpers.get_uf_show(event.properties.show.value)
 
         status_default = app.config.get('print_status_muc_default')


=====================================
gajim/privatechat_control.py
=====================================
@@ -132,7 +132,7 @@ class PrivateChatControl(ChatControl):
 
         nick = event.properties.muc_nickname
         status = event.properties.status
-        status = '' if status is None else ' (%s)' % status
+        status = '' if status is None else ' - %s' % status
         show = helpers.get_uf_show(event.properties.show.value)
 
         status_default = app.config.get('print_status_muc_default')



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/c823ef6cebf77dfa52fa3737e46dde7da48b85d8

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/c823ef6cebf77dfa52fa3737e46dde7da48b85d8
You're receiving this email because of your account on dev.gajim.org.

_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to