prevent a tb
This commit is contained in:
parent
b854555e58
commit
e981cd5690
|
@ -137,6 +137,8 @@ class TabbedChatWindow(chat.Chat):
|
||||||
if not real_jid: # this can happend if we're in a moderate room
|
if not real_jid: # this can happend if we're in a moderate room
|
||||||
return
|
return
|
||||||
avatar_pixbuf = gtkgui_helpers.get_avatar_pixbuf_from_cache(real_jid)
|
avatar_pixbuf = gtkgui_helpers.get_avatar_pixbuf_from_cache(real_jid)
|
||||||
|
if avatar_pixbuf in ('ask', None):
|
||||||
|
return
|
||||||
avatar_w = avatar_pixbuf.get_width()
|
avatar_w = avatar_pixbuf.get_width()
|
||||||
avatar_h = avatar_pixbuf.get_height()
|
avatar_h = avatar_pixbuf.get_height()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue