Mercurial > pidgin
comparison src/protocols/oscar/oscar.c @ 4901:ad589b887af9
[gaim-migrate @ 5235]
Aside from shifting lots of stuff around in aim.h, mostly just
to annoy people because everything in the oscar directory will
recompile, I took out a few calls to aimutil_getbleh and
aimutil_putbleh in favor of other methods. These functions
should be used aaas little as possible because, um, well mid
said so in his comments, I think.
The only real change is a fix for bug 710933, which says that
"Web Aware" is not set at signon, it is only set when you
explicitly set your status to anything. Also, the I think the
interoperability flag changes how privacy/invisibility in ICQ
works, and I'm not really sure if it's good or not. I think
it's more like AIM, but I'm too tired to figure out what that
means.
http://sourceforge.net/tracker/index.php?func=detail&aid=710993&group_id=235&atid=100235
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 28 Mar 2003 06:37:21 +0000 |
parents | bd37db7531e4 |
children | d9b6b5ae34e4 |
comparison
equal
deleted
inserted
replaced
4900:53718dbe8d0d | 4901:ad589b887af9 |
---|---|
4387 aim_ssi_setpermdeny(od->sess, 0x03, 0xffffffff); | 4387 aim_ssi_setpermdeny(od->sess, 0x03, 0xffffffff); |
4388 gc->account->permdeny = 3; | 4388 gc->account->permdeny = 3; |
4389 } | 4389 } |
4390 | 4390 |
4391 if (!strcmp(state, _("Online"))) | 4391 if (!strcmp(state, _("Online"))) |
4392 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_NORMAL); | 4392 aim_setextstatus(od->sess, AIM_ICQ_STATE_NORMAL); |
4393 else if (!strcmp(state, _("Away"))) { | 4393 else if (!strcmp(state, _("Away"))) { |
4394 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_AWAY); | 4394 aim_setextstatus(od->sess, AIM_ICQ_STATE_AWAY); |
4395 gc->away = g_strdup(""); | 4395 gc->away = g_strdup(""); |
4396 } else if (!strcmp(state, _("Do Not Disturb"))) { | 4396 } else if (!strcmp(state, _("Do Not Disturb"))) { |
4397 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_AWAY | AIM_ICQ_STATE_DND | AIM_ICQ_STATE_BUSY); | 4397 aim_setextstatus(od->sess, AIM_ICQ_STATE_AWAY | AIM_ICQ_STATE_DND | AIM_ICQ_STATE_BUSY); |
4398 gc->away = g_strdup(""); | 4398 gc->away = g_strdup(""); |
4399 } else if (!strcmp(state, _("Not Available"))) { | 4399 } else if (!strcmp(state, _("Not Available"))) { |
4400 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_OUT | AIM_ICQ_STATE_AWAY); | 4400 aim_setextstatus(od->sess, AIM_ICQ_STATE_OUT | AIM_ICQ_STATE_AWAY); |
4401 gc->away = g_strdup(""); | 4401 gc->away = g_strdup(""); |
4402 } else if (!strcmp(state, _("Occupied"))) { | 4402 } else if (!strcmp(state, _("Occupied"))) { |
4403 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_AWAY | AIM_ICQ_STATE_BUSY); | 4403 aim_setextstatus(od->sess, AIM_ICQ_STATE_AWAY | AIM_ICQ_STATE_BUSY); |
4404 gc->away = g_strdup(""); | 4404 gc->away = g_strdup(""); |
4405 } else if (!strcmp(state, _("Free For Chat"))) { | 4405 } else if (!strcmp(state, _("Free For Chat"))) { |
4406 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_CHAT); | 4406 aim_setextstatus(od->sess, AIM_ICQ_STATE_CHAT); |
4407 gc->away = g_strdup(""); | 4407 gc->away = g_strdup(""); |
4408 } else if (!strcmp(state, _("Invisible"))) { | 4408 } else if (!strcmp(state, _("Invisible"))) { |
4409 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_INVISIBLE); | 4409 aim_setextstatus(od->sess, AIM_ICQ_STATE_INVISIBLE); |
4410 gc->away = g_strdup(""); | 4410 gc->away = g_strdup(""); |
4411 } else if (!strcmp(state, GAIM_AWAY_CUSTOM)) { | 4411 } else if (!strcmp(state, GAIM_AWAY_CUSTOM)) { |
4412 if (message) { | 4412 if (message) { |
4413 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_OUT | AIM_ICQ_STATE_AWAY); | 4413 aim_setextstatus(od->sess, AIM_ICQ_STATE_OUT | AIM_ICQ_STATE_AWAY); |
4414 gc->away = g_strdup(""); | 4414 gc->away = g_strdup(""); |
4415 } else { | 4415 } else { |
4416 aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_NORMAL); | 4416 aim_setextstatus(od->sess, AIM_ICQ_STATE_NORMAL); |
4417 } | 4417 } |
4418 } | 4418 } |
4419 | 4419 |
4420 return; | 4420 return; |
4421 } | 4421 } |
4797 " Until you are below the limit, some buddies will not show up as online."), | 4797 " Until you are below the limit, some buddies will not show up as online."), |
4798 od->rights.maxbuddies, tmp); | 4798 od->rights.maxbuddies, tmp); |
4799 do_error_dialog(_("Maximum buddy list length exceeded."), dialog_msg, GAIM_WARNING); | 4799 do_error_dialog(_("Maximum buddy list length exceeded."), dialog_msg, GAIM_WARNING); |
4800 g_free(dialog_msg); | 4800 g_free(dialog_msg); |
4801 } | 4801 } |
4802 } | |
4803 | |
4804 /* Set our ICQ status */ | |
4805 if (od->icq && !gc->away) { | |
4806 aim_setextstatus(sess, AIM_ICQ_STATE_NORMAL); | |
4802 } | 4807 } |
4803 | 4808 |
4804 /* Activate SSI */ | 4809 /* Activate SSI */ |
4805 /* Sending the enable causes other people to be able to see you, and you to see them */ | 4810 /* Sending the enable causes other people to be able to see you, and you to see them */ |
4806 /* Make sure your privacy setting/invisibility is set how you want it before this! */ | 4811 /* Make sure your privacy setting/invisibility is set how you want it before this! */ |