mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 07:46:38 +02:00
typing: remove nicks typing even when option typing.look.enabled_self is off (closes #1718)
This commit is contained in:
@@ -81,6 +81,7 @@ Bug fixes::
|
||||
* ruby: fix crash on quit when a child process is still running (issue #1889, issue #1915)
|
||||
* spell: check buffer pointer received in info "spell_dict"
|
||||
* typing: fix crash when pointer buffer is not received in callback for signal "input_text_changed" (issue #1869)
|
||||
* typing: remove nicks typing even when option typing.look.enabled_self is off (issue #1718)
|
||||
|
||||
Tests::
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user