Changeset ce74deb for functions.c


Ignore:
Timestamp:
Apr 22, 2007, 3:12:12 PM (17 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f178fb5
Parents:
f6c2b3d
git-author:
Nelson Elhage <nelhage@mit.edu> (04/22/07 15:11:07)
git-committer:
Nelson Elhage <nelhage@mit.edu> (04/22/07 15:12:12)
Message:
Improving the private/personal distinction by fixing owl_message_is_personal
* ``private'' means to/or from an individual, not a chat/class/etc.
* ``personal'' means ``matches the personal filter''
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r4228f8b rce74deb  
    28932893  /* narrow personal and login messages to the sender or recip as appropriate */
    28942894  if (owl_message_is_type_zephyr(m)) {
    2895     if (owl_message_is_personal(m) || owl_message_is_loginout(m)) {
     2895    if (owl_message_is_private(m) || owl_message_is_loginout(m)) {
    28962896      if (owl_message_is_direction_in(m)) {
    28972897        zperson=short_zuser(owl_message_get_sender(m));
     
    29052905
    29062906    /* narrow class MESSAGE, instance foo, recip * messages to class, inst */
    2907     if (!strcasecmp(owl_message_get_class(m), "message") && !owl_message_is_personal(m)) {
     2907    if (!strcasecmp(owl_message_get_class(m), "message")) {
    29082908      filtname=owl_function_classinstfilt(owl_message_get_class(m), owl_message_get_instance(m));
    29092909      return(filtname);
Note: See TracChangeset for help on using the changeset viewer.