aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_contact.c
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-12-16 00:58:44 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2021-12-16 00:58:44 +0100
commit98852b955cacf792adc9a02682e3d23b5e6ee979 (patch)
tree8b6b5f3825046a31c5d1739eae1945df37fd106e /src/gnunet_chat_contact.c
parentbf0bb934cc4c62c4aefedaab205ba0035747bdd4 (diff)
downloadlibgnunetchat-98852b955cacf792adc9a02682e3d23b5e6ee979.tar.gz
libgnunetchat-98852b955cacf792adc9a02682e3d23b5e6ee979.zip
Added function to check if a contact is owned by the account
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/gnunet_chat_contact.c')
-rw-r--r--src/gnunet_chat_contact.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gnunet_chat_contact.c b/src/gnunet_chat_contact.c
index c7004d3..273f917 100644
--- a/src/gnunet_chat_contact.c
+++ b/src/gnunet_chat_contact.c
@@ -44,6 +44,8 @@ contact_create_from_member (struct GNUNET_CHAT_Handle *handle,
44 contact->public_key = NULL; 44 contact->public_key = NULL;
45 contact->user_pointer = NULL; 45 contact->user_pointer = NULL;
46 46
47 contact->is_owned = GNUNET_NO;
48
47 contact_update_key (contact); 49 contact_update_key (contact);
48 return contact; 50 return contact;
49} 51}