Disable logging for Tox buffers

As per the Tox Client Standard.
<https://github.com/Tox/Tox-Client-Standard>
This commit is contained in:
Håvard Pettersson
2017-02-08 20:55:06 -08:00
parent f79e8bb4a4
commit e185e00b29
2 changed files with 10 additions and 0 deletions

View File

@ -286,6 +286,11 @@ twc_profile_load(struct t_twc_profile *profile)
if (!(profile->buffer))
return TWC_RC_ERROR;
/* disable logging for buffer */
weechat_hook_signal_send("logger_stop",
WEECHAT_HOOK_SIGNAL_POINTER,
profile->buffer);
profile->nicklist_group = weechat_nicklist_add_group(profile->buffer, NULL,
NULL, NULL, true);
weechat_buffer_set(profile->buffer, "nicklist", "1");