Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/oscar_data.c @ 27243:7054f810b0f9
Check in code that connects to oscar using clientLogin. This is the
authentication scheme they've publically documented. We still use
the old MD5-style login as the default, but you can optionally try
this out by checking a check box on the advanced tab of your oscar
account.
Functionally everything is supposed to be the same. However, for
some reason users with Mobile IM forwarding turned on don't show
up online and can't be messaged. Not sure why.
Using clientLogin DOES make it easier for AOL to track us. And yes,
it probably makes it easier for AOL to block us, too. But I don't
believe they want to do that. I believe they're trying to keep their
network open, and I think we should appreciate that and try to work
with them. We're not just some small open source project that slips
under the radar unnoticed anymore.
It's good to have options, right?
None of this code was taken from anywhere (outside of libpurple). I
wrote it all from scratch (and took a few bits from other places in
libpurple). I did use the documentation on http://dev.aol.com/aim ,
but I don't believe that affects us from a licensing standpoint in
any way. If you disagree we should talk about it on the devel
mailing list.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 23 Jun 2009 18:20:12 +0000 |
parents | 986edbefc516 |
children | 420907755a2f |
comparison
equal
deleted
inserted
replaced
27242:763247959e00 | 27243:7054f810b0f9 |
---|---|
68 /* missing 0x11 - 0x12 */ | 68 /* missing 0x11 - 0x12 */ |
69 aim__registermodule(od, ssi_modfirst); | 69 aim__registermodule(od, ssi_modfirst); |
70 /* missing 0x14 */ | 70 /* missing 0x14 */ |
71 aim__registermodule(od, icq_modfirst); | 71 aim__registermodule(od, icq_modfirst); |
72 /* missing 0x16 */ | 72 /* missing 0x16 */ |
73 /* auth_modfirst is only needed if we're connecting with the old-style BUCP login */ | |
73 aim__registermodule(od, auth_modfirst); | 74 aim__registermodule(od, auth_modfirst); |
74 aim__registermodule(od, email_modfirst); | 75 aim__registermodule(od, email_modfirst); |
75 | 76 |
76 return od; | 77 return od; |
77 } | 78 } |
83 */ | 84 */ |
84 void | 85 void |
85 oscar_data_destroy(OscarData *od) | 86 oscar_data_destroy(OscarData *od) |
86 { | 87 { |
87 aim_cleansnacs(od, -1); | 88 aim_cleansnacs(od, -1); |
89 | |
90 /* Only used when connecting with clientLogin */ | |
91 if (od->url_data != NULL) | |
92 purple_util_fetch_url_cancel(od->url_data); | |
88 | 93 |
89 while (od->requesticon) | 94 while (od->requesticon) |
90 { | 95 { |
91 g_free(od->requesticon->data); | 96 g_free(od->requesticon->data); |
92 od->requesticon = g_slist_delete_link(od->requesticon, od->requesticon); | 97 od->requesticon = g_slist_delete_link(od->requesticon, od->requesticon); |