Disable logging for Tox buffers

As per the Tox Client Standard.
<https://github.com/Tox/Tox-Client-Standard>
master
Håvard Pettersson 7 years ago
parent f79e8bb4a4
commit e185e00b29

@ -89,6 +89,11 @@ twc_chat_new(struct t_twc_profile *profile, const char *name)
return NULL;
}
/* disable logging for buffer */
weechat_hook_signal_send("logger_stop",
WEECHAT_HOOK_SIGNAL_POINTER,
chat->buffer);
twc_chat_queue_refresh(chat);
twc_list_item_new_data_add(profile->chats, chat);

@ -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");

Loading…
Cancel
Save