Changeset 3abf28b for filter.c


Ignore:
Timestamp:
Jun 1, 2003, 9:11:25 PM (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:
75e3879
Parents:
df0d93a
Message:
make smartnarrow work for AIM
  (though it will crash on names with spaces)
don't set an away message by default
better default format
bold them like personal zephyrs
same with terminal bell
do some basic HTML stripping (buggy, in progress)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filter.c

    rd09e5a1 r3abf28b  
    150150      match=owl_message_get_realm(m);
    151151    } else if (!strcasecmp(field, "type")) {
    152       if (owl_message_is_type_zephyr(m)) {
    153         match="zephyr";
    154       } else if (owl_message_is_type_aim(m)) {
    155         match="aim";
    156       } else if (owl_message_is_type_admin(m)) {
    157         match="admin";
    158       } else {
    159         match="";
    160       }
     152      match=owl_message_type_to_string(m);
    161153    } else if (!strcasecmp(field, "direction")) {
    162154      if (owl_message_is_direction_out(m)) {
Note: See TracChangeset for help on using the changeset viewer.