-
-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
model/test_model: Notify user of alert-word.
In the notify_user function a condition of "has_alert_word" is added which also checks if stream/topic is muted(unlike mentions,wild-card_mentions). Changed the existing test function test_notify_users_calling_msg_type. Added the case for notificaiton for all private messages. Apart from that added two parameters is_topic_muted and is_stream_muted.
- Loading branch information
1 parent
3081df9
commit 9d53f9e
Showing
2 changed files
with
73 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters