diff options
-rw-r--r-- | src/gnunet_chat_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c index 23b2c3e..c355c04 100644 --- a/src/gnunet_chat_lib.c +++ b/src/gnunet_chat_lib.c | |||
@@ -463,10 +463,10 @@ GNUNET_CHAT_context_get_status (const struct GNUNET_CHAT_Context *context) | |||
463 | if ((!context) || (!(context->room))) | 463 | if ((!context) || (!(context->room))) |
464 | return GNUNET_SYSERR; | 464 | return GNUNET_SYSERR; |
465 | 465 | ||
466 | if (1 <= GNUNET_MESSENGER_iterate_members(context->room, NULL, NULL)) | 466 | if (1 >= GNUNET_MESSENGER_iterate_members(context->room, NULL, NULL)) |
467 | return GNUNET_NO; | 467 | return GNUNET_NO; |
468 | 468 | ||
469 | return GNUNET_YES; | 469 | return GNUNET_OK; |
470 | } | 470 | } |
471 | 471 | ||
472 | 472 | ||