diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-05-16 13:29:09 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-05-16 13:29:09 +0200 |
commit | 357323b8fc23030f0b602a32c52fd1e0e1860ea3 (patch) | |
tree | 751a870426aff4049429bad006a034ad7692bf25 /src | |
parent | cfc85b7fea595276eb3ebe11f33cafb738602b58 (diff) | |
download | weechat-357323b8fc23030f0b602a32c52fd1e0e1860ea3.zip |
typing: remove nicks typing even when option typing.look.enabled_self is off (closes #1718)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/typing/typing.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/typing/typing.c b/src/plugins/typing/typing.c index 5db242320..8d02928d4 100644 --- a/src/plugins/typing/typing.c +++ b/src/plugins/typing/typing.c @@ -549,6 +549,12 @@ typing_setup_hooks () "typing_reset_buffer", &typing_typing_reset_buffer_signal_cb, NULL, NULL); } + if (!typing_timer) + { + typing_timer = weechat_hook_timer ( + 1000, 0, 0, + &typing_timer_cb, NULL, NULL); + } } else { @@ -569,6 +575,8 @@ typing_setup_hooks () typing_status_nicks = NULL; } } + weechat_unhook (typing_timer); + typing_timer = NULL; } } |