aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-03-17 13:03:40 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2022-03-17 13:03:40 +0100
commitae0d27195aacfe0a5695218c42580d1b37a1c42b (patch)
tree5da7b4ca6ca2dc77f17f6e500f18d63b32f662b5
parentf978eb8045b17d9d7d46bbc15f25985f7b545aab (diff)
downloadlibgnunetchat-ae0d27195aacfe0a5695218c42580d1b37a1c42b.tar.gz
libgnunetchat-ae0d27195aacfe0a5695218c42580d1b37a1c42b.zip
Fixed using nick names on temporary contacts
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r--src/gnunet_chat_lib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c
index 8c7bd6d..fd82ba3 100644
--- a/src/gnunet_chat_lib.c
+++ b/src/gnunet_chat_lib.c
@@ -566,7 +566,9 @@ GNUNET_CHAT_contact_set_name (struct GNUNET_CHAT_Contact *contact,
566 return; 566 return;
567 567
568 context_update_nick(contact->context, name); 568 context_update_nick(contact->context, name);
569 context_write_records(contact->context); 569
570 if (contact->context->room)
571 context_write_records(contact->context);
570} 572}
571 573
572 574