diff options
Diffstat (limited to 'src/ui/message.c')
-rw-r--r-- | src/ui/message.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/message.c b/src/ui/message.c index 5cbafcc..4dbddf1 100644 --- a/src/ui/message.c +++ b/src/ui/message.c | |||
@@ -249,6 +249,7 @@ ui_message_new(MESSENGER_Application *app, | |||
249 | handle->type = type; | 249 | handle->type = type; |
250 | 250 | ||
251 | handle->timestamp = GNUNET_TIME_absolute_get_zero_(); | 251 | handle->timestamp = GNUNET_TIME_absolute_get_zero_(); |
252 | handle->msg = NULL; | ||
252 | 253 | ||
253 | const char *ui_builder_file; | 254 | const char *ui_builder_file; |
254 | 255 | ||
@@ -403,6 +404,8 @@ ui_message_update(UI_MESSAGE_Handle *handle, | |||
403 | { | 404 | { |
404 | struct GNUNET_CHAT_File *file = NULL; | 405 | struct GNUNET_CHAT_File *file = NULL; |
405 | 406 | ||
407 | handle->msg = msg; | ||
408 | |||
406 | if (msg) | 409 | if (msg) |
407 | { | 410 | { |
408 | file = GNUNET_CHAT_message_get_file(msg); | 411 | file = GNUNET_CHAT_message_get_file(msg); |