Disable logging for Tox buffers
As per the Tox Client Standard. <https://github.com/Tox/Tox-Client-Standard>
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user