pidgin/gtkutils.c

branch
soc.2013.gobjectification.plugins
changeset 37146
b5b9c75a4b54
parent 37145
8826f95514fd
parent 36055
33978dc8ef6f
child 37158
96b5ab42da00
equal deleted inserted replaced
37145:8826f95514fd 37146:b5b9c75a4b54
1506 data->account = account; 1506 data->account = account;
1507 1507
1508 if (gc) 1508 if (gc)
1509 protocol = purple_connection_get_protocol(gc); 1509 protocol = purple_connection_get_protocol(gc);
1510 1510
1511 if (protocol && purple_protocol_get_options(protocol) & OPT_PROTO_IM_IMAGE) 1511 if (!(purple_connection_get_flags(gc) & PURPLE_CONNECTION_FLAG_NO_IMAGES))
1512 im = TRUE; 1512 im = TRUE;
1513 1513
1514 if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, XFER_IFACE, can_receive)) 1514 if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, XFER_IFACE, can_receive))
1515 ft = purple_protocol_xfer_iface_can_receive(protocol, gc, who); 1515 ft = purple_protocol_xfer_iface_can_receive(protocol, gc, who);
1516 else if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, XFER_IFACE, send)) 1516 else if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, XFER_IFACE, send))

mercurial