Skip to content
Snippets Groups Projects
Commit 792496b7 authored by nkour's avatar nkour
Browse files

fix a testing to be better when 32x32 is not at all there

parent 582b0e32
No related branches found
No related tags found
No related merge requests found
......@@ -360,7 +360,7 @@ def set_state_image(self, jid):
state_images_16 = gajim.interface.roster.get_appropriate_state_images(jid)
# Set banner image
if state_images_32[show].get_pixbuf():
if state_images.has_key(show) and state_images_32[show].get_pixbuf():
# we have 32x32! use it!
banner_image = state_images_32[show]
use_size_32 = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment