mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-04 10:19:15 +02:00
move up when tapping webxdc info messages (#2194)
* add DcMsg.getParent() api * factor out scrollSmoothToMsgId() and use that for both, quotes and webxdc-info-messages
This commit is contained in:
parent
56cce4b977
commit
a9a99047da
3 changed files with 37 additions and 18 deletions
|
@ -1694,6 +1694,12 @@ JNIEXPORT jlong Java_com_b44t_messenger_DcMsg_getQuotedMsgCPtr(JNIEnv *env, jobj
|
|||
}
|
||||
|
||||
|
||||
JNIEXPORT jlong Java_com_b44t_messenger_DcMsg_getParentCPtr(JNIEnv *env, jobject obj)
|
||||
{
|
||||
return (jlong)dc_msg_get_parent(get_dc_msg(env, obj));
|
||||
}
|
||||
|
||||
|
||||
JNIEXPORT jstring Java_com_b44t_messenger_DcMsg_getError(JNIEnv *env, jobject obj)
|
||||
{
|
||||
char* temp = dc_msg_get_error(get_dc_msg(env, obj));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue