| 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)) |