Mercurial > pidgin
comparison src/oscar.c @ 900:e18815f5a4e9
[gaim-migrate @ 910]
libfaim changes la la la
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 13 Sep 2000 23:48:43 +0000 |
parents | fa2feef25e1e |
children | e1a7fc4482b9 |
comparison
equal
deleted
inserted
replaced
899:88d1edcd7cd6 | 900:e18815f5a4e9 |
---|---|
540 va_list ap; | 540 va_list ap; |
541 va_start(ap, command); | 541 va_start(ap, command); |
542 info = va_arg(ap, struct aim_userinfo_s *); | 542 info = va_arg(ap, struct aim_userinfo_s *); |
543 va_end(ap); | 543 va_end(ap); |
544 | 544 |
545 if (info->class & AIM_CLASS_TRIAL) | 545 if (info->flags & AIM_FLAG_UNCONFIRMED) |
546 type |= UC_UNCONFIRMED; | 546 type |= UC_UNCONFIRMED; |
547 else if (info->class & AIM_CLASS_ADMINISTRATOR) | 547 else if (info->flags & AIM_FLAG_ADMINISTRATOR) |
548 type |= UC_ADMIN; | 548 type |= UC_ADMIN; |
549 else if (info->class & AIM_CLASS_AOL) | 549 else if (info->flags & AIM_FLAG_AOL) |
550 type |= UC_AOL; | 550 type |= UC_AOL; |
551 else if (info->class & AIM_CLASS_FREE) | 551 else if (info->flags & AIM_FLAG_FREE) |
552 type |= UC_NORMAL; | 552 type |= UC_NORMAL; |
553 if (info->class & AIM_CLASS_AWAY) | 553 if (info->flags & AIM_FLAG_AWAY) |
554 type |= UC_UNAVAILABLE; | 554 type |= UC_UNAVAILABLE; |
555 | 555 |
556 if (info->idletime) { | 556 if (info->idletime) { |
557 time(&time_idle); | 557 time(&time_idle); |
558 time_idle -= info->idletime*60; | 558 time_idle -= info->idletime*60; |
1091 | 1091 |
1092 aim_addicbmparam(sess, command->conn); | 1092 aim_addicbmparam(sess, command->conn); |
1093 aim_bos_reqicbmparaminfo(sess, command->conn); | 1093 aim_bos_reqicbmparaminfo(sess, command->conn); |
1094 | 1094 |
1095 aim_bos_reqrights(sess, command->conn); | 1095 aim_bos_reqrights(sess, command->conn); |
1096 aim_bos_setgroupperm(sess, command->conn, AIM_CLASS_ALLUSERS); | 1096 aim_bos_setgroupperm(sess, command->conn, AIM_FLAG_ALLUSERS); |
1097 aim_bos_setprivacyflags(sess, command->conn, AIM_PRIVFLAGS_ALLOWIDLE | | 1097 aim_bos_setprivacyflags(sess, command->conn, AIM_PRIVFLAGS_ALLOWIDLE | |
1098 AIM_PRIVFLAGS_ALLOWMEMBERSINCE); | 1098 AIM_PRIVFLAGS_ALLOWMEMBERSINCE); |
1099 | 1099 |
1100 break; | 1100 break; |
1101 default: | 1101 default: |