- Timestamp:
- Dec 20, 2003, 1:35:36 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 72836b5
- Parents:
- c8735aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
ra68f05d r5a95b69 342 342 } 343 343 344 /* First buddy check to sync the list without notifications */ 345 owl_function_debugmsg("startup: doing initial zephyr buddy check"); 346 owl_function_zephyr_buddy_check(0); 347 344 348 /* set the startup and default style, based on userclue and presence of a 345 349 * formatting function */ … … 491 495 } 492 496 497 /* if it's a zephyr login or logout, update the zbuddylist */ 498 if (owl_message_is_type_zephyr(m) && owl_message_is_loginout(m)) { 499 if (owl_message_is_login(m)) { 500 owl_zbuddylist_adduser(owl_global_get_zephyr_buddylist(&g), owl_message_get_sender(m)); 501 } else if (owl_message_is_logout(m)) { 502 owl_zbuddylist_deluser(owl_global_get_zephyr_buddylist(&g), owl_message_get_sender(m)); 503 } else { 504 owl_function_error("Internal error: received login notice that is neither login nor logout"); 505 } 506 } 507 493 508 /* check for burning ears message */ 494 509 /* this is an unsupported feature */ … … 504 519 if (owl_global_is_logging(&g) || owl_global_is_classlogging(&g)) { 505 520 owl_log_incoming(m); 521 } 522 } 523 524 /* is it time to check zbuddies? */ 525 if (owl_global_is_pseudologins(&g)) { 526 if (owl_timer_is_expired(owl_global_get_zephyr_buddycheck_timer(&g))) { 527 owl_function_debugmsg("Doing zephyr buddy check"); 528 owl_function_zephyr_buddy_check(1); 529 owl_timer_reset(owl_global_get_zephyr_buddycheck_timer(&g)); 506 530 } 507 531 }
Note: See TracChangeset
for help on using the changeset viewer.