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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c
index a5bd4d6..c167146 100644
--- a/src/gnunet_chat_lib.c
+++ b/src/gnunet_chat_lib.c
@@ -967,12 +967,7 @@ GNUNET_CHAT_contact_is_blocked (const struct GNUNET_CHAT_Contact *contact)
967 if (!contact) 967 if (!contact)
968 return GNUNET_SYSERR; 968 return GNUNET_SYSERR;
969 969
970 struct GNUNET_CHAT_Context *context = contact_find_context(contact); 970 return contact_is_blocked(contact, NULL);
971
972 if (!context)
973 return GNUNET_SYSERR;
974
975 return contact_is_blocked(contact, context);
976} 971}
977 972
978 973