1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Initialize is_ox in win_create_chat()

Fixes an issue where messages are displayed as OX when they are not.
This commit is contained in:
Stefan Kropp 2020-06-30 17:42:10 +02:00 committed by Michael Vetter
parent 8de6a7bfb0
commit 7d6ef8f4c8

View File

@ -147,6 +147,7 @@ win_create_chat(const char *const barejid)
new_win->pgp_recv = FALSE;
new_win->pgp_send = FALSE;
new_win->is_omemo = FALSE;
new_win->is_ox = FALSE;
new_win->history_shown = FALSE;
new_win->unread = 0;
new_win->state = chat_state_new();