about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStefan Kropp <stefan@debxwoody.de>2020-06-30 17:42:10 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-07-01 09:23:23 +0200
commit7d6ef8f4c8fd4d2a6560095b16e9ba147d3c4c47 (patch)
treea4c045a04739dff519f24292cf26b49a02ac8e07
parent8de6a7bfb0773faf60317988340df7ae6e42aa68 (diff)
downloadprofani-tty-7d6ef8f4c8fd4d2a6560095b16e9ba147d3c4c47.tar.gz
Initialize is_ox in win_create_chat()
Fixes an issue where messages are displayed as OX when they are not.
-rw-r--r--src/ui/window.c1
1 files changed, 1 insertions, 0 deletions
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();