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
This commit is contained in:
parent
ac4bde0447
commit
c823ef6ceb
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue