commit a0d5a648861807561ad32bda3ada6b3c0e3ffe4e
parent 5122725420c5cbf90f4f22e55b56362d59c66aaa
Author: TheJackiMonster <thejackimonster@gmail.com>
Date: Thu, 16 Nov 2023 23:47:08 +0100
Fix requesting all messages
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gnunet_chat_handle_intern.c b/src/gnunet_chat_handle_intern.c
@@ -668,6 +668,9 @@ on_handle_message (void *cls,
GNUNET_MESSENGER_get_message(room, &(msg->header.previous));
+ if (GNUNET_MESSENGER_KIND_MERGE == msg->header.kind)
+ GNUNET_MESSENGER_get_message(room, &(msg->body.merge.previous));
+
if ((GNUNET_CHAT_KIND_UNKNOWN == util_message_kind_from_kind(msg->header.kind)) ||
(GNUNET_OK != intern_provide_contact_for_member(handle, sender, NULL)))
return;