Changeset 440ce01 for message.c


Ignore:
Timestamp:
May 31, 2003, 4:17:24 PM (18 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
0ff8fb57
Parents:
5e53c4a
Message:
added owl_prototypes.h to repository
fix outgoing aim message to send the real text
display sender and recipient of owl messages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • message.c

    rd09e5a1 r440ce01  
    409409}
    410410
    411 void owl_message_create_aim(owl_message *m, char *sender, char *text) {
     411void owl_message_create_aim(owl_message *m, char *sender, char *recipient, char *text) {
    412412  char *indent;
    413413
     
    415415  owl_message_set_body(m, text);
    416416  owl_message_set_sender(m, sender);
     417  owl_message_set_recipient(m, recipient);
    417418  owl_message_set_type_aim(m);
    418419
     
    423424  owl_fmtext_append_normal(&(m->fmtext), "AIM: ");
    424425  owl_fmtext_append_normal(&(m->fmtext), sender);
     426  owl_fmtext_append_normal(&(m->fmtext), " -> ");
     427  owl_fmtext_append_normal(&(m->fmtext), recipient);
    425428  owl_fmtext_append_normal(&(m->fmtext), "\n");
    426429  owl_fmtext_append_ztext(&(m->fmtext), indent);
Note: See TracChangeset for help on using the changeset viewer.