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

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