- Timestamp:
- Jun 3, 2003, 3:40:28 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:
- fd93b41
- Parents:
- 651560f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
r3abf28b raa5f725 579 579 580 580 owl_free(indent); 581 } 582 583 /* For login direction == 0 584 * For logout direction == 1 585 */ 586 void owl_message_create_aim_login(owl_message *m, int direction, char *screenname) 587 { 588 owl_message_init(m); 589 owl_message_set_body(m, ""); 590 owl_message_set_sender(m, screenname); 591 owl_message_set_recipient(m, owl_global_get_aim_screenname(&g)); 592 owl_message_set_type_aim(m); 593 owl_message_set_direction_in(m); 594 595 owl_fmtext_init_null(&(m->fmtext)); 596 owl_fmtext_append_normal(&(m->fmtext), OWL_TABSTR); 597 if (direction==0) { 598 owl_fmtext_append_bold(&(m->fmtext), "AIM LOGIN"); 599 } else if (direction==1) { 600 owl_fmtext_append_bold(&(m->fmtext), "AIM LOGOUT"); 601 } 602 owl_fmtext_append_normal(&(m->fmtext), " for "); 603 owl_fmtext_append_normal(&(m->fmtext), screenname); 604 owl_fmtext_append_normal(&(m->fmtext), "\n"); 581 605 } 582 606
Note: See TracChangeset
for help on using the changeset viewer.