diff options
Diffstat (limited to 'src/gnunet_chat_lib.c')
-rw-r--r-- | src/gnunet_chat_lib.c | 10 |
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 | ||
334 | int | 334 | int |
335 | GNUNET_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 | |||
344 | int | ||
335 | GNUNET_CHAT_group_leave (struct GNUNET_CHAT_Group *group) | 345 | GNUNET_CHAT_group_leave (struct GNUNET_CHAT_Group *group) |
336 | { | 346 | { |
337 | if (!group) | 347 | if (!group) |