Dont show OOB uri if message body is the same
if oob uri == body there is no need to show the uri below the message
This commit is contained in:
parent
ffe8ee8068
commit
04b86a7bd0
|
@ -838,10 +838,9 @@ class ConversationTextview(GObject.GObject):
|
|||
except KeyError:
|
||||
pass
|
||||
else:
|
||||
oob_desc = additional_data['gajim'].get('oob_desc', None)
|
||||
if oob_desc is None:
|
||||
oob_desc = _('URL:')
|
||||
otext += '\n{} {}'.format(oob_desc, oob_url)
|
||||
oob_desc = additional_data['gajim'].get('oob_desc', 'URL:')
|
||||
if oob_url != otext:
|
||||
otext += '\n{} {}'.format(oob_desc, oob_url)
|
||||
|
||||
# basic: links + mail + formatting is always checked (we like that)
|
||||
if app.config.get('emoticons_theme') and graphics:
|
||||
|
|
Loading…
Reference in New Issue