about summary refs log tree commit diff stats
path: root/src/ui/notifier.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-09-08 12:04:34 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-09-08 12:04:34 +0200
commit0a8d69dc46a7b44490b89e16657d4d13de41b77c (patch)
treebd540953caeb1e7fa46767b6d40f31e7252810b1 /src/ui/notifier.c
parentc89e31269c8d852608fc56744f7b67b52e7fc45c (diff)
downloadprofani-tty-0a8d69dc46a7b44490b89e16657d4d13de41b77c.tar.gz
Enable whole word only notifications by default
Set PREF_NOTIFY_MENTION_WHOLE_WORD to true.

If I'm not mistaken the _mucwin_print_mention() / get_mentions()
functions only work correctly since
6bc440c6f7e8c2c40d2d45f5c0decc15821abc8b.

This changed the behaviour for users.
They got notified when their nick was `kaffee` and in the message the
string `kaffeekanne` occured.

Setting `/notify room mention word_whole` corrected this.

So my idea is that only now the mention function work correctly. And to
have a good default behaviour we should set the `word_whole` on by
default.

Regards https://github.com/profanity-im/profanity/issues/1578
Diffstat (limited to 'src/ui/notifier.c')
0 files changed, 0 insertions, 0 deletions