From 7d6ef8f4c8fd4d2a6560095b16e9ba147d3c4c47 Mon Sep 17 00:00:00 2001 From: Stefan Kropp Date: Tue, 30 Jun 2020 17:42:10 +0200 Subject: Initialize is_ox in win_create_chat() Fixes an issue where messages are displayed as OX when they are not. --- src/ui/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/window.c b/src/ui/window.c index 88092329..81230801 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -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(); -- cgit 1.4.1-2-gfad0