Changeset 0ef0e8f


Ignore:
Timestamp:
Aug 1, 2007, 1:52:08 AM (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:
095e717
Parents:
21f0a9d
Message:
zephyr smartnarrow now uses the ``personal'' filter to decide whether
to narrow to user or not, and the zephyr-user filter now checks for
`filter personal' instead of <message,personal,*>.
closes #2
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r5763474 r0ef0e8f  
    26712671
    26722672  argbuff=owl_malloc(strlen(longuser)+1000);
    2673   sprintf(argbuff, "( type ^zephyr$ and ( class ^message$ and instance ^personal$ and ");
     2673  sprintf(argbuff, "( type ^zephyr$ and filter personal and ");
    26742674  sprintf(argbuff, "%s ( ( direction ^in$ and sender ^%s$ ) or ( direction ^out$ and recipient ^%s$ ) ) )", argbuff, longuser, longuser);
    2675   sprintf(argbuff, "%s or ( ( class ^login$ ) and ( sender ^%s$ ) ) )", argbuff, longuser);
     2675  sprintf(argbuff, "%s or ( ( class ^login$ ) and ( sender ^%s$ ) )", argbuff, longuser);
    26762676
    26772677  owl_filter_init_fromstring(f, filtname, argbuff);
     
    28322832  /* narrow personal and login messages to the sender or recip as appropriate */
    28332833  if (owl_message_is_type_zephyr(m)) {
    2834     if (owl_message_is_private(m) || owl_message_is_loginout(m)) {
     2834    if (owl_message_is_personal(m) || owl_message_is_loginout(m)) {
    28352835      if (owl_message_is_direction_in(m)) {
    28362836        zperson=short_zuser(owl_message_get_sender(m));
Note: See TracChangeset for help on using the changeset viewer.