Changeset aa2f6364
- Timestamp:
- Oct 12, 2002, 11:46:25 AM (20 years ago)
- 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:
- 8fec514
- Parents:
- b12c219
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r2527615 raa2f6364 5 5 Zaway now makes an outgoing message, instead of an admin message 6 6 The 'zlocate' command can now handle multiple users 7 The simple user format for "To:" is in effect again 8 Prettyed up the zwrite line for using 'reply' on a zaway 7 9 8 10 1.2.6 -
zephyr.c
r2527615 raa2f6364 331 331 332 332 void owl_zephyr_zaway(owl_message *m) { 333 char *tmpbuff; 334 335 /* bail if it doesn't look like a message we should reply to */ 333 char *tmpbuff, *myuser; 334 335 /* bail if it doesn't look like a message we should reply to. Some 336 of this defined by the way zaway(1) works */ 336 337 if (strcasecmp(owl_message_get_class(m), "message")) return; 337 338 if (strcasecmp(owl_message_get_recipient(m), ZGetSender())) return; … … 349 350 owl_global_get_zaway_msg(&g)); 350 351 352 myuser=short_zuser(owl_message_get_sender(m)); 353 if (!strcasecmp(owl_message_get_instance(m), "personal")) { 354 tmpbuff = owl_sprintf("zwrite %s", myuser); 355 } else { 356 tmpbuff = owl_sprintf("zwrite -i %s %s", owl_message_get_instance(m), myuser); 357 } 358 owl_free(myuser); 359 351 360 /* display the message as an admin message in the receive window */ 352 tmpbuff = owl_sprintf("zwrite -c %s -i %s %s",353 owl_message_get_class(m),354 owl_message_get_instance(m),355 owl_message_get_sender(m));356 361 owl_function_make_outgoing_zephyr(owl_global_get_zaway_msg(&g), tmpbuff, "Automated reply:"); 357 362 owl_free(tmpbuff);
Note: See TracChangeset
for help on using the changeset viewer.