mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 10:39:27 +02:00
comment
This commit is contained in:
parent
56cc1a2f7e
commit
adbdb5b970
5 changed files with 82 additions and 27 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue