make sure before_/after_time/name possible newlines are taken into account in history window too
This commit is contained in:
parent
ac225d4954
commit
075eeef1ba
|
@ -280,7 +280,9 @@ class HistoryWindow:
|
||||||
if contact_name and kind != constants.KIND_GCSTATUS:
|
if contact_name and kind != constants.KIND_GCSTATUS:
|
||||||
# add stuff before and after contact name
|
# add stuff before and after contact name
|
||||||
before_str = gajim.config.get('before_nickname')
|
before_str = gajim.config.get('before_nickname')
|
||||||
|
before_str = helpers.from_one_line(before_str)
|
||||||
after_str = gajim.config.get('after_nickname')
|
after_str = gajim.config.get('after_nickname')
|
||||||
|
after_str = helpers.from_one_line(after_str)
|
||||||
format = before_str + contact_name + after_str + ' '
|
format = before_str + contact_name + after_str + ' '
|
||||||
buf.insert_with_tags_by_name(end_iter, format, tag_name)
|
buf.insert_with_tags_by_name(end_iter, format, tag_name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue