Implement #143: User colors

Implementing [XEP-0392](https://xmpp.org/extensions/xep-0392.html) to have random colors on users nicknames.
This commit is contained in:
John Livingston
2024-03-14 16:06:29 +01:00
parent f8b27f80b2
commit 2408d9cf72
3 changed files with 7 additions and 1 deletions

View File

@ -87,6 +87,7 @@ function defaultConverseParams (
prune_messages_above: 100, // only keep 100 message in history.
pruning_behavior: 'unscrolled',
colorize_username: true,
// This is a specific settings, that is used in ConverseJS customization, to force avatars loading in readonly mode.
livechat_load_all_vcards: !!forceReadonly