pidgin/gtkutils.c

changeset 36055
33978dc8ef6f
parent 36035
75cbabcd0a4d
child 36257
c5445f25f90f
child 37146
b5b9c75a4b54
equal deleted inserted replaced
36054:501ed6c0631e 36055:33978dc8ef6f
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)

mercurial