Dismissing the contact request popup only marks the messages from the contact in scope as being noticed.

This commit is contained in:
B. Petersen
2017-11-02 23:03:15 +01:00
parent f6ad0f2ee5
commit e4454044f6
3 changed files with 9 additions and 2 deletions
+6
View File
@@ -379,6 +379,12 @@ JNIEXPORT jint Java_com_b44t_messenger_MrMailbox_marknoticedChat(JNIEnv *env, jc
}
JNIEXPORT jint Java_com_b44t_messenger_MrMailbox_marknoticedContact(JNIEnv *env, jclass cls, jint contact_id)
{
return (jlong)mrmailbox_marknoticed_contact(get_mrmailbox_t(env, cls), contact_id);
}
JNIEXPORT jint Java_com_b44t_messenger_MrMailbox_archiveChat(JNIEnv *env, jclass cls, jint chat_id, jint archive)
{
return (jlong)mrmailbox_archive_chat(get_mrmailbox_t(env, cls), chat_id, archive);