Fix #140:using ConverseJS prune_messages_above
to purge old messages, keeping only last 100.
This commit is contained in:
parent
e14c349ddf
commit
6d7a8199ae
@ -4,7 +4,8 @@
|
|||||||
|
|
||||||
### Minor changes and fixes
|
### Minor changes and fixes
|
||||||
|
|
||||||
* Updated spanish translations
|
* Updated spanish translations.
|
||||||
|
* ConverseJS: using `prune_messages_above` to purge old messages, keeping only last 100 (Fix #140).
|
||||||
|
|
||||||
## 8.0.3
|
## 8.0.3
|
||||||
|
|
||||||
|
@ -75,7 +75,10 @@ function defaultConverseParams (
|
|||||||
whitelisted_plugins: ['livechatWindowTitlePlugin', 'livechatViewerModePlugin', 'livechatDisconnectOnUnloadPlugin'],
|
whitelisted_plugins: ['livechatWindowTitlePlugin', 'livechatViewerModePlugin', 'livechatDisconnectOnUnloadPlugin'],
|
||||||
show_retraction_warning: false, // No need to use this warning (except if we open to external clients?)
|
show_retraction_warning: false, // No need to use this warning (except if we open to external clients?)
|
||||||
muc_show_info_messages: mucShowInfoMessages,
|
muc_show_info_messages: mucShowInfoMessages,
|
||||||
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.
|
||||||
|
pruning_behavior: 'unscrolled'
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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