Add basic qrcode functions

This commit is contained in:
Michael Vetter
2022-05-30 18:04:36 +02:00
parent 010ed78b32
commit cf83976b51
8 changed files with 73 additions and 1 deletions

View File

@@ -9035,6 +9035,18 @@ cmd_omemo_policy(ProfWin* window, const char* const command, gchar** args)
#endif
}
gboolean
cmd_omemo_qrcode(ProfWin* window, const char* const command, gchar** args)
{
#ifdef HAVE_OMEMO
cons_show_omemo_qrcode("some text from me");
return TRUE;
#else
cons_show("This version of Profanity has not been built with OMEMO support enabled");
return TRUE;
#endif
}
gboolean
cmd_save(ProfWin* window, const char* const command, gchar** args)
{