diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2023-11-16 23:47:08 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2023-11-16 23:47:08 +0100 |
commit | a0d5a648861807561ad32bda3ada6b3c0e3ffe4e (patch) | |
tree | 137b4948609ad87bba7c0f6c948328a9d7c70021 | |
parent | 5122725420c5cbf90f4f22e55b56362d59c66aaa (diff) | |
download | libgnunetchat-a0d5a648861807561ad32bda3ada6b3c0e3ffe4e.tar.gz libgnunetchat-a0d5a648861807561ad32bda3ada6b3c0e3ffe4e.zip |
Fix requesting all messages
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r-- | src/gnunet_chat_handle_intern.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gnunet_chat_handle_intern.c b/src/gnunet_chat_handle_intern.c index 06dd406..e7e4350 100644 --- a/src/gnunet_chat_handle_intern.c +++ b/src/gnunet_chat_handle_intern.c | |||
@@ -668,6 +668,9 @@ on_handle_message (void *cls, | |||
668 | 668 | ||
669 | GNUNET_MESSENGER_get_message(room, &(msg->header.previous)); | 669 | GNUNET_MESSENGER_get_message(room, &(msg->header.previous)); |
670 | 670 | ||
671 | if (GNUNET_MESSENGER_KIND_MERGE == msg->header.kind) | ||
672 | GNUNET_MESSENGER_get_message(room, &(msg->body.merge.previous)); | ||
673 | |||
671 | if ((GNUNET_CHAT_KIND_UNKNOWN == util_message_kind_from_kind(msg->header.kind)) || | 674 | if ((GNUNET_CHAT_KIND_UNKNOWN == util_message_kind_from_kind(msg->header.kind)) || |
672 | (GNUNET_OK != intern_provide_contact_for_member(handle, sender, NULL))) | 675 | (GNUNET_OK != intern_provide_contact_for_member(handle, sender, NULL))) |
673 | return; | 676 | return; |