diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-01-10 17:21:28 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-01-10 17:21:28 +0100 |
commit | 69e3d367f8e0d1168d5c6d6daebed1d2722b265c (patch) | |
tree | 369ff4e9421743fe513d0159d878736fdbf3c2c0 /src/ui/chat_entry.c | |
parent | 031a28213115d042de65ce344a8f4a23a8ba056a (diff) | |
download | messenger-gtk-69e3d367f8e0d1168d5c6d6daebed1d2722b265c.tar.gz messenger-gtk-69e3d367f8e0d1168d5c6d6daebed1d2722b265c.zip |
Adding visual list of current uploading files to be sent
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
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 = ( |