Mercurial > pidgin
comparison libpurple/protocols/yahoo/yahoo_filexfer.c @ 28463:7b88cc6c3f7a
Cannot send a file to a federated user on yahoo.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 01 Nov 2009 02:56:44 +0000 |
parents | 208fbf27d987 |
children | 3c9534e77ea1 |
comparison
equal
deleted
inserted
replaced
28462:61fd49ad0def | 28463:7b88cc6c3f7a |
---|---|
1066 249, 3, | 1066 249, 3, |
1067 250, xd->host); | 1067 250, xd->host); |
1068 | 1068 |
1069 g_free(filename); | 1069 g_free(filename); |
1070 yahoo_packet_send_and_free(pkt, yd); | 1070 yahoo_packet_send_and_free(pkt, yd); |
1071 } | |
1072 | |
1073 gboolean yahoo_can_receive_file(PurpleConnection *gc, const char *who) | |
1074 { | |
1075 if (!who || yahoo_get_federation_from_name(who) != YAHOO_FEDERATION_NONE) | |
1076 return FALSE; | |
1077 return TRUE; | |
1071 } | 1078 } |
1072 | 1079 |
1073 void yahoo_send_file(PurpleConnection *gc, const char *who, const char *file) | 1080 void yahoo_send_file(PurpleConnection *gc, const char *who, const char *file) |
1074 { | 1081 { |
1075 struct yahoo_xfer_data *xfer_data; | 1082 struct yahoo_xfer_data *xfer_data; |