Changeset 312675c


Ignore:
Timestamp:
Jan 8, 2007, 1:09:47 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:
6475057
Parents:
8b7466b
git-author:
Nelson Elhage <nelhage@mit.edu> (01/08/07 13:09:37)
git-committer:
Nelson Elhage <nelhage@mit.edu> (01/08/07 13:09:47)
Message:
Fixing the ``personal'' filter to be more generic. Now works with
jabber.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • message.c

    r421c8ef7 r312675c  
    292292void owl_message_set_isprivate(owl_message *m)
    293293{
    294   owl_message_set_attribute(m, "isprivate", "");
     294  owl_message_set_attribute(m, "isprivate", "true");
    295295}
    296296
     
    991991  }
    992992  owl_zwrite_free(&z);
     993
     994  if(owl_message_is_personal(m))
     995    owl_message_set_isprivate(m);
    993996}
    994997
  • owl.c

    rcb769bb r312675c  
    247247  owl_function_debugmsg("startup: creating default filters");
    248248  f=owl_malloc(sizeof(owl_filter));
    249   owl_filter_init_fromstring(f, "personal", "( type ^zephyr$ "
    250                              "and class ^message$ and instance ^personal$ "
    251                              "and ( recipient ^%me%$ or sender ^%me%$ ) ) "
    252                              "or ( type ^aim$ and login ^none$ )");
     249  owl_filter_init_fromstring(f, "personal", "isprivate ^true$");
    253250  owl_list_append_element(owl_global_get_filterlist(&g), f);
    254251
Note: See TracChangeset for help on using the changeset viewer.