diff -r 8826f95514fd -r b5b9c75a4b54 pidgin/gtkutils.c --- a/pidgin/gtkutils.c Thu May 15 10:16:32 2014 +0530 +++ b/pidgin/gtkutils.c Tue May 20 10:36:58 2014 +0530 @@ -1508,7 +1508,7 @@ if (gc) protocol = purple_connection_get_protocol(gc); - if (protocol && purple_protocol_get_options(protocol) & OPT_PROTO_IM_IMAGE) + if (!(purple_connection_get_flags(gc) & PURPLE_CONNECTION_FLAG_NO_IMAGES)) im = TRUE; if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, XFER_IFACE, can_receive))