commit ae0d27195aacfe0a5695218c42580d1b37a1c42b parent f978eb8045b17d9d7d46bbc15f25985f7b545aab Author: TheJackiMonster <thejackimonster@gmail.com> Date: Thu, 17 Mar 2022 13:03:40 +0100 Fixed using nick names on temporary contacts Signed-off-by: TheJackiMonster <thejackimonster@gmail.com> Diffstat:
| M | src/gnunet_chat_lib.c | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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, return; context_update_nick(contact->context, name); - context_write_records(contact->context); + + if (contact->context->room) + context_write_records(contact->context); }