Commit d6389223 authored by Dicson's avatar Dicson

banner_tweaks plugin. prevent Tb in the gc if 'show_banner_image' is disabled

parent 56ef5605
......@@ -79,7 +79,12 @@ class BannerTweaksPlugin(GajimPlugin):
if not self.config['show_banner_image']:
banner_status_img = chat_control.xml.get_object('banner_status_image')
if chat_control.type_id == 'chat':
banner_status_img = chat_control.xml.get_object(
banner_status_img = chat_control.xml.get_object(
# TODO: part below repeats a lot of code from ChatControl.draw_banner_text()
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