Custom settings livechat_load_all_vcards for the readonly mode
This commit is contained in:
parent
91b44497bd
commit
a8e3524a94
@ -19,6 +19,7 @@
|
|||||||
* force history pruning, even if messages keep coming (Fix #140)
|
* force history pruning, even if messages keep coming (Fix #140)
|
||||||
* don't load all vCards when right menu is not visible (Fix #106)
|
* don't load all vCards when right menu is not visible (Fix #106)
|
||||||
* Changing the default avatar to minimize blinking effect when a user sends his first message
|
* Changing the default avatar to minimize blinking effect when a user sends his first message
|
||||||
|
* Custom settings livechat_load_all_vcards for the readonly mode
|
||||||
* Prosody: disabling message carbons for anonymous users (See #295)
|
* Prosody: disabling message carbons for anonymous users (See #295)
|
||||||
* Peertube users avatars optimization (Fix #303):
|
* Peertube users avatars optimization (Fix #303):
|
||||||
* avoid multiple parallel request to load same avatar from Peertube
|
* avoid multiple parallel request to load same avatar from Peertube
|
||||||
|
@ -19,7 +19,8 @@ CONVERSE_COMMIT=""
|
|||||||
# This version already includes following changes that will not be merged in ConverseJS upstream:
|
# This version already includes following changes that will not be merged in ConverseJS upstream:
|
||||||
# - Don't load vCards for all room occupants when the right menu is closed
|
# - Don't load vCards for all room occupants when the right menu is closed
|
||||||
# - Changing the default avatar, for something very light (to mitigate blinking effect when vCards are loaded)
|
# - Changing the default avatar, for something very light (to mitigate blinking effect when vCards are loaded)
|
||||||
CONVERSE_COMMIT="9fff09f75a3f65a970506c3fd1796feaba552845"
|
# - Custom settings livechat_load_all_vcards for the readonly mode
|
||||||
|
CONVERSE_COMMIT="b6f9a82daf52d04434e75a7ab224cb525082d082"
|
||||||
CONVERSE_REPO="https://github.com/JohnXLivingston/converse.js"
|
CONVERSE_REPO="https://github.com/JohnXLivingston/converse.js"
|
||||||
|
|
||||||
rootdir="$(pwd)"
|
rootdir="$(pwd)"
|
||||||
|
@ -85,7 +85,10 @@ function defaultConverseParams (
|
|||||||
send_chat_state_notifications: false, // don't send this for performance reason
|
send_chat_state_notifications: false, // don't send this for performance reason
|
||||||
|
|
||||||
prune_messages_above: 100, // only keep 100 message in history.
|
prune_messages_above: 100, // only keep 100 message in history.
|
||||||
pruning_behavior: 'unscrolled'
|
pruning_behavior: 'unscrolled',
|
||||||
|
|
||||||
|
// This is a specific settings, that is used in ConverseJS customization, to force avatars loading in readonly mode.
|
||||||
|
livechat_load_all_vcards: !!forceReadonly
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: params.clear_messages_on_reconnection = true when muc_mam will be available.
|
// TODO: params.clear_messages_on_reconnection = true when muc_mam will be available.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user