libgnunetchat

library for GNUnet Messenger
Log | Files | Refs | README | LICENSE

commit f978eb8045b17d9d7d46bbc15f25985f7b545aab
parent 90b3ed7b69e5b2d57e7f57c2391e619afb574bc3
Author: TheJackiMonster <thejackimonster@gmail.com>
Date:   Wed, 16 Mar 2022 00:03:06 +0100

Delete records of contexts when leaving rooms

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>

Diffstat:
Msrc/gnunet_chat_lib.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c @@ -550,6 +550,7 @@ GNUNET_CHAT_contact_delete (struct GNUNET_CHAT_Contact *contact) ); GNUNET_MESSENGER_close_room(contact->context->room); + context_delete_records(contact->context); context_destroy(contact->context); contact_destroy(contact); @@ -665,6 +666,7 @@ GNUNET_CHAT_group_leave (struct GNUNET_CHAT_Group *group) ); GNUNET_MESSENGER_close_room(group->context->room); + context_delete_records(group->context); context_destroy(group->context); group_destroy(group);