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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c
index fae83d2..f1421af 100644
--- a/src/gnunet_chat_lib.c
+++ b/src/gnunet_chat_lib.c
@@ -332,6 +332,16 @@ GNUNET_CHAT_contact_get_user_pointer (const struct GNUNET_CHAT_Contact *contact)
332 332
333 333
334int 334int
335GNUNET_CHAT_contact_is_owned (const struct GNUNET_CHAT_Contact *contact)
336{
337 if (!contact)
338 return GNUNET_SYSERR;
339
340 return contact->is_owned;
341}
342
343
344int
335GNUNET_CHAT_group_leave (struct GNUNET_CHAT_Group *group) 345GNUNET_CHAT_group_leave (struct GNUNET_CHAT_Group *group)
336{ 346{
337 if (!group) 347 if (!group)