Ensure that help messages are always shown
This commit is contained in:
parent
ce1c5ec7f6
commit
49837c2da4
@ -42,6 +42,7 @@ export function parseMessageForCommands (chat, text) {
|
||||
_converse.chatboxviews.get(chat.get('jid'))?.close();
|
||||
return true;
|
||||
} else if (match[1] === 'help') {
|
||||
chat.set({ 'show_help_messages': false }, { 'silent': true });
|
||||
chat.set({ 'show_help_messages': true });
|
||||
return true;
|
||||
}
|
||||
|
@ -210,6 +210,7 @@ export function parseMessageForMUCCommands (muc, text) {
|
||||
break;
|
||||
}
|
||||
case 'help': {
|
||||
muc.set({ 'show_help_messages': false }, { 'silent': true });
|
||||
muc.set({ 'show_help_messages': true });
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user