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:
parent
5b80e99aa7
commit
0465489e9f
2 changed files with 13 additions and 0 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue