diff options
Diffstat (limited to 'src/ui/chat_entry.c')
-rw-r--r-- | src/ui/chat_entry.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/chat_entry.c b/src/ui/chat_entry.c index 1dabec8..c065fc7 100644 --- a/src/ui/chat_entry.c +++ b/src/ui/chat_entry.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2021 GNUnet e.V. | 3 | Copyright (C) 2021--2022 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Affero General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
@@ -100,12 +100,12 @@ ui_chat_entry_update(UI_CHAT_ENTRY_Handle *handle, | |||
100 | hdy_avatar_set_text(handle->entry_avatar, title); | 100 | hdy_avatar_set_text(handle->entry_avatar, title); |
101 | } | 101 | } |
102 | 102 | ||
103 | if (!handle->chat) | 103 | if (!(handle->chat)) |
104 | return; | 104 | return; |
105 | 105 | ||
106 | ui_chat_update(handle->chat, app, context); | 106 | ui_chat_update(handle->chat, app, context); |
107 | 107 | ||
108 | if (!handle->chat->messages) | 108 | if (!(handle->chat->messages)) |
109 | return; | 109 | return; |
110 | 110 | ||
111 | UI_MESSAGE_Handle *message = ( | 111 | UI_MESSAGE_Handle *message = ( |