1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

typing: remove nicks typing even when option typing.look.enabled_self is off (closes #1718)

This commit is contained in:
Sébastien Helleu
2023-05-16 13:29:09 +02:00
parent cfc85b7fea
commit 357323b8fc
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -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;
}
}