Add /mam command

Regards https://github.com/profanity-im/profanity/issues/660
This commit is contained in:
Michael Vetter
2021-01-28 15:11:50 +01:00
parent 05bf065e68
commit 44fc3f0506
6 changed files with 38 additions and 3 deletions

View File

@@ -2082,6 +2082,16 @@ cons_slashguard_setting(void)
}
}
void
cons_mam_setting(void)
{
if (prefs_get_boolean(PREF_MAM)) {
cons_show("Message Archive Management (XEP-0313) (/mam) : ON");
} else {
cons_show("Message Archive Management (XEP-0313) (/mam) : OFF");
}
}
void
cons_show_connection_prefs(void)
{