- Timestamp:
- Jun 1, 2003, 9:11:25 PM (21 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
r31e48a3 r3abf28b 138 138 139 139 /* setup the default filters */ 140 f=malloc(sizeof(owl_filter)); 141 owl_filter_init_fromstring(f, "personal", "class ^message$ and instance ^personal$ and ( recipient ^%me%$ or sender ^%me%$ )"); 140 141 /* the personal filter will need to change again when AIM chat's are 142 * included. Also, there should be an %aimme% */ 143 f=malloc(sizeof(owl_filter)); 144 owl_filter_init_fromstring(f, "personal", "( type ^zephyr$ " 145 "and class ^message$ and instance ^personal$ " 146 "and ( recipient ^%me%$ or sender ^%me%$ ) ) " 147 "or ( type ^aim$ )"); 142 148 owl_list_append_element(owl_global_get_filterlist(&g), f); 143 149 … … 330 336 331 337 /* ring the bell if it's a personal */ 332 if (owl_global_is_personalbell(&g) && owl_message_is_personal(m)) { 338 if (owl_global_is_personalbell(&g) && 339 (owl_message_is_personal(m) || 340 (owl_message_is_type_aim(m) && owl_message_is_to_me(m)))) { 333 341 owl_function_beep(); 334 342 }
Note: See TracChangeset
for help on using the changeset viewer.