Commit c823ef6c authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist

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
parent ac4bde04
......@@ -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')
......
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment