mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 10:39:27 +02:00
prepare cli to create group-join-qr-codes
This commit is contained in:
parent
46ed43522c
commit
7358377d3e
2 changed files with 11 additions and 5 deletions
|
@ -492,7 +492,7 @@ char* mrmailbox_cmdline(mrmailbox_t* mailbox, const char* cmdline)
|
|||
"delcontact <contact-id>\n"
|
||||
"cleanupcontacts\n"
|
||||
"======================================Misc.==\n"
|
||||
"getqr\n"
|
||||
"getqr [<chat-id>]\n"
|
||||
"getbadqr\n"
|
||||
"checkqr <qr-contenct>\n"
|
||||
"event <event-id to test>\n"
|
||||
|
@ -1223,7 +1223,7 @@ char* mrmailbox_cmdline(mrmailbox_t* mailbox, const char* cmdline)
|
|||
|
||||
else if( strcmp(cmd, "getqr")==0 )
|
||||
{
|
||||
ret = mrmailbox_get_securejoin_qr(mailbox, 0);
|
||||
ret = mrmailbox_get_securejoin_qr(mailbox, arg1? atoi(arg1) : 0);
|
||||
}
|
||||
else if( strcmp(cmd, "checkqr")==0 )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue