comparison src/protocols/oscar/conn.c @ 3694:e941bfbacf7c

[gaim-migrate @ 3824] Adds an option for unread mail notification for AIM over oscar. Yippy. This involves making a connection to the email AIM servers (parallel to chatnav, bos, auth, ads, etc.). Also added were functions n' stuff to handle getting mail status updates. AIM does this in a very silly way. They only tell you how many messages you have when you sign on, so I had to change connection_has_mail so it will just say "bleh has new mail," without saying the number of new messages. Also, I haven't really looked into having you auto-login to webmail, though it is possible. This is good for now. Oh, and since I'm sure people will ask... AIM screen names come with an email account @netscape.net. You have to sign in to netscape.net to activate it. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 14 Oct 2002 07:47:51 +0000
parents 9682c0e022c6
children 988485669631
comparison
equal deleted inserted replaced
3693:2d1b14529fa2 3694:e941bfbacf7c
962 sess->ssi.waiting_for_ack = 0; 962 sess->ssi.waiting_for_ack = 0;
963 sess->ssi.holding_queue = NULL; 963 sess->ssi.holding_queue = NULL;
964 sess->ssi.revision = 0; 964 sess->ssi.revision = 0;
965 sess->ssi.items = NULL; 965 sess->ssi.items = NULL;
966 sess->ssi.timestamp = (time_t)0; 966 sess->ssi.timestamp = (time_t)0;
967
968 sess->emailinfo = NULL;
967 969
968 /* 970 /*
969 * Default to SNAC login unless XORLOGIN is explicitly set. 971 * Default to SNAC login unless XORLOGIN is explicitly set.
970 */ 972 */
971 if (!(flags & AIM_SESS_FLAGS_XORLOGIN)) 973 if (!(flags & AIM_SESS_FLAGS_XORLOGIN))
1001 aim__registermodule(sess, ssi_modfirst); 1003 aim__registermodule(sess, ssi_modfirst);
1002 /* missing 0x14 */ 1004 /* missing 0x14 */
1003 aim__registermodule(sess, icq_modfirst); 1005 aim__registermodule(sess, icq_modfirst);
1004 /* missing 0x16 */ 1006 /* missing 0x16 */
1005 aim__registermodule(sess, auth_modfirst); 1007 aim__registermodule(sess, auth_modfirst);
1008 aim__registermodule(sess, email_modfirst);
1006 1009
1007 return; 1010 return;
1008 } 1011 }
1009 1012
1010 /** 1013 /**