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();
|
_converse.chatboxviews.get(chat.get('jid'))?.close();
|
||||||
return true;
|
return true;
|
||||||
} else if (match[1] === 'help') {
|
} else if (match[1] === 'help') {
|
||||||
|
chat.set({ 'show_help_messages': false }, { 'silent': true });
|
||||||
chat.set({ 'show_help_messages': true });
|
chat.set({ 'show_help_messages': true });
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -210,6 +210,7 @@ export function parseMessageForMUCCommands (muc, text) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'help': {
|
case 'help': {
|
||||||
|
muc.set({ 'show_help_messages': false }, { 'silent': true });
|
||||||
muc.set({ 'show_help_messages': true });
|
muc.set({ 'show_help_messages': true });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user