Changeset 963542b for message.c


Ignore:
Timestamp:
Mar 9, 2007, 3:11:13 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
07f715f
Parents:
e0410eb
git-author:
Nelson Elhage <nelhage@mit.edu> (03/09/07 15:11:02)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/09/07 15:11:13)
Message:
Correctly define a ``private'' zephyr as one that is sent to a
recipient that is neither empty, nor starts with ``@''.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • message.c

    r95caa16 r963542b  
    812812
    813813 
    814   /* set the "isprivate" attribute if it's a private zephyr */
    815   if (!strcasecmp(n->z_recipient, owl_zephyr_get_sender())) {
     814  /* set the "isprivate" attribute if it's a private zephyr.
     815   ``private'' means recipient is */
     816  if (*n->z_recipient && *n->z_recipient != '@') {
    816817    owl_message_set_isprivate(m);
    817818  }
Note: See TracChangeset for help on using the changeset viewer.