Mercurial > pidgin
comparison libpurple/protocols/yahoo/util.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 | 43200ff042ad |
children | f4a95b3424d1 |
comparison
equal
deleted
inserted
replaced
28462:61fd49ad0def | 28463:7b88cc6c3f7a |
---|---|
914 yahoo_htc_list_cleanup(colors); | 914 yahoo_htc_list_cleanup(colors); |
915 yahoo_htc_list_cleanup(tags); | 915 yahoo_htc_list_cleanup(tags); |
916 | 916 |
917 return g_string_free(dest, FALSE); | 917 return g_string_free(dest, FALSE); |
918 } | 918 } |
919 | |
920 YahooFederation yahoo_get_federation_from_name(const char *who) | |
921 { | |
922 YahooFederation fed = YAHOO_FEDERATION_NONE; | |
923 if (who[3] == '/') { | |
924 if (!g_ascii_strncasecmp(who, "msn", 3)) | |
925 fed = YAHOO_FEDERATION_MSN; | |
926 else if (!g_ascii_strncasecmp(who, "ocs", 3)) | |
927 fed = YAHOO_FEDERATION_OCS; | |
928 else if (!g_ascii_strncasecmp(who, "ibm", 3)) | |
929 fed = YAHOO_FEDERATION_IBM; | |
930 } | |
931 return fed; | |
932 } | |
933 |