aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_lib.c')
-rw-r--r--src/gnunet_chat_lib.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c
index fd82ba3..7b2303f 100644
--- a/src/gnunet_chat_lib.c
+++ b/src/gnunet_chat_lib.c
@@ -569,6 +569,13 @@ GNUNET_CHAT_contact_set_name (struct GNUNET_CHAT_Contact *contact,
569 569
570 if (contact->context->room) 570 if (contact->context->room)
571 context_write_records(contact->context); 571 context_write_records(contact->context);
572
573 handle_send_internal_message(
574 contact->handle,
575 contact->context,
576 GNUNET_CHAT_FLAG_UPDATE,
577 NULL
578 );
572} 579}
573 580
574 581
@@ -684,7 +691,16 @@ GNUNET_CHAT_group_set_name (struct GNUNET_CHAT_Group *group,
684 return; 691 return;
685 692
686 context_update_nick(group->context, name); 693 context_update_nick(group->context, name);
687 context_write_records(group->context); 694
695 if (group->context->room)
696 context_write_records(group->context);
697
698 handle_send_internal_message(
699 group->handle,
700 group->context,
701 GNUNET_CHAT_FLAG_UPDATE,
702 NULL
703 );
688} 704}
689 705
690 706