1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 10:39:27 +02:00
This commit is contained in:
B. Petersen 2018-03-21 14:25:21 +01:00
parent 56cc1a2f7e
commit adbdb5b970
5 changed files with 82 additions and 27 deletions

View file

@ -1166,12 +1166,12 @@ char* mrmailbox_cmdline(mrmailbox_t* mailbox, const char* cmdline)
else if( strcmp(cmd, "getqr")==0 )
{
ret = mrmailbox_get_qr(mailbox);
ret = mrmailbox_oob_get_qr(mailbox);
}
else if( strcmp(cmd, "checkqr")==0 )
{
if( arg1 ) {
mrlot_t* res = mrmailbox_check_scanned_qr(mailbox, arg1);
mrlot_t* res = mrmailbox_check_qr(mailbox, arg1);
ret = mr_mprintf("state=%i, id=%i, text1=%s, text2=%s", (int)res->m_state, res->m_id, res->m_text1? res->m_text1:"", res->m_text2? res->m_text2:"");
mrlot_unref(res);
}