| 1520 data->account = account; |
1520 data->account = account; |
| 1521 |
1521 |
| 1522 if (gc) |
1522 if (gc) |
| 1523 prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_prpl(gc)); |
1523 prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_prpl(gc)); |
| 1524 |
1524 |
| 1525 if (prpl_info && prpl_info->options & OPT_PROTO_IM_IMAGE) |
1525 if (!(purple_connection_get_flags(gc) & PURPLE_CONNECTION_FLAG_NO_IMAGES)) |
| 1526 im = TRUE; |
1526 im = TRUE; |
| 1527 |
1527 |
| 1528 if (prpl_info && prpl_info->can_receive_file) |
1528 if (prpl_info && prpl_info->can_receive_file) |
| 1529 ft = prpl_info->can_receive_file(gc, who); |
1529 ft = prpl_info->can_receive_file(gc, who); |
| 1530 else if (prpl_info && prpl_info->send_file) |
1530 else if (prpl_info && prpl_info->send_file) |