remove dead code (#1820)

the number of blocked contacts is just the size of the array returned by getBlockedContacts()
This commit is contained in:
bjoern
2021-02-22 16:24:49 +01:00
committed by GitHub
parent a2c26295a7
commit 05287b50bf
2 changed files with 0 additions and 7 deletions
-6
View File
@@ -296,12 +296,6 @@ JNIEXPORT jintArray Java_com_b44t_messenger_DcContext_getContacts(JNIEnv *env, j
}
JNIEXPORT jint Java_com_b44t_messenger_DcContext_getBlockedCount(JNIEnv *env, jobject obj)
{
return dc_get_blocked_cnt(get_dc_context(env, obj));
}
JNIEXPORT jintArray Java_com_b44t_messenger_DcContext_getBlockedContacts(JNIEnv *env, jobject obj)
{
dc_array_t* ca = dc_get_blocked_contacts(get_dc_context(env, obj));
-1
View File
@@ -123,7 +123,6 @@ public class DcContext {
public native boolean mayBeValidAddr (String addr);
public native int lookupContactIdByAddr(String addr);
public native int[] getContacts (int flags, String query);
public native int getBlockedCount ();
public native int[] getBlockedContacts ();
public @NonNull DcContact getContact (int contact_id) { return new DcContact(getContactCPtr(contact_id)); }
public native int createContact (String name, String addr);