1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 02:29:28 +02:00

the the 'getqr' command to the commandline; the command displays the qr code in the shell

This commit is contained in:
B. Petersen 2018-03-20 16:15:54 +01:00
parent 5b80e99aa7
commit 0465489e9f
2 changed files with 13 additions and 0 deletions

View file

@ -1162,6 +1162,10 @@ char* mrmailbox_cmdline(mrmailbox_t* mailbox, const char* cmdline)
* Misc.
******************************************************************************/
else if( strcmp(cmd, "getqr")==0 )
{
ret = mrmailbox_get_qr(mailbox);
}
else if( strcmp(cmd, "checkqr")==0 )
{
if( arg1 ) {