Changeset d023c25


Ignore:
Timestamp:
Oct 12, 2002, 10:59:11 AM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
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:
2527615
Parents:
be97670
Message:
Zaway now makes an outgoing message, instead of an admin message
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rb45293f rd023c25  
    331.2.7
    44        Outgoing messages now go through the config for formatting
     5        Zaway now makes an outgoing message, instead of an admin message
    56       
    671.2.6
  • zephyr.c

    r2adaf1d rd023c25  
    339339  if (!strcasecmp(owl_message_get_opcode(m), "ping")) return;
    340340  if (!strcasecmp(owl_message_get_opcode(m), "auto")) return;
    341   if (!strcasecmp(owl_message_get_notice(m)->z_message, "Automated reply:")) return;
     341  if (!strcasecmp(owl_message_get_zsig(m), "Automated reply:")) return;
    342342  if (!strcasecmp(owl_message_get_sender(m), ZGetSender())) return;
    343   /* add one to not send to ourselves */
    344343
    345344  send_zephyr("",
     
    351350
    352351  /* display the message as an admin message in the receive window */
    353   tmpbuff = owl_sprintf("Message sent to %s", owl_message_get_sender(m));
    354   owl_function_adminmsg(tmpbuff, owl_global_get_zaway_msg(&g));
     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  owl_function_make_outgoing_zephyr(owl_global_get_zaway_msg(&g), tmpbuff, "Automated reply:");
    355357  owl_free(tmpbuff);
    356358}
Note: See TracChangeset for help on using the changeset viewer.