Changeset 4b464a4 for zephyr.c


Ignore:
Timestamp:
Aug 25, 2002, 11:35:03 AM (19 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:
56330ff
Parents:
7131cf2
Message:
Messages now have a direciton (in, out or none).  Filters can
     this direction
Outbound messages are no longer type 'admin' but are of the
     appropriate message type (i.e. 'zephyr') and are direction
     'out'.
Smartnarrow now works on outgoing messages
'info' updated to show more information for admin and outgoing
     messages
Renamed pretty_sender to short_zuser and renamed long_sender to
     long_zuser
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r1c6c4d3 r4b464a4  
    359359    } else if (!strcasecmp(retnotice->z_class, "message") &&
    360360               !strcasecmp(retnotice->z_class_inst, "personal")) {
    361       tmp=pretty_sender(retnotice->z_recipient);
     361      tmp=short_zuser(retnotice->z_recipient);
    362362      owl_function_makemsg("Message sent to %s.", tmp);
    363363      free(tmp);
     
    370370              retnotice->z_class, retnotice->z_class_inst);
    371371    } else {
    372       tmp = pretty_sender(retnotice->z_recipient);
     372      tmp = short_zuser(retnotice->z_recipient);
    373373      owl_function_makemsg("%s: Not logged in or subscribing to messages.",
    374374                           tmp);
     
    446446  for (;numlocs;numlocs--) {
    447447    ZGetLocations(&locations,&one);
    448     myuser=pretty_sender(user);
     448    myuser=short_zuser(user);
    449449    sprintf(out, "%s%s: %s\t%s\t%s\n", out, myuser, locations.host, locations.tty, locations.time);
    450450    owl_free(myuser);
Note: See TracChangeset for help on using the changeset viewer.