Minor JS fix

This commit is contained in:
John Livingston 2024-04-29 15:50:38 +02:00
parent 29426bba12
commit 33328a76d4
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
3 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
### Minor changes and fixes
* Translation updates: french, croatian, deutsch.
* Minor JS fix.
## 9.0.1

View File

@ -14,7 +14,7 @@ export const livechatMiniMucHeadPlugin = {
_converse.api.listen.on('getHeadingButtons', (view: any, buttons: any[]) => {
if (view.model.get('type') !== _converse.CHATROOMS_TYPE) {
// only on MUC.
return
return buttons
}
// removing the 'show/hide topic' buttons

View File

@ -11,7 +11,7 @@ export const livechatSpecificsPlugin = {
_converse.api.listen.on('getHeadingButtons', (view: any, buttons: any[]) => {
if (view.model.get('type') !== _converse.CHATROOMS_TYPE) {
// only on MUC.
return
return buttons
}
if (_converse.api.settings.get('livechat_specific_external_authent')) {