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
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## ??? (Not Released Yet)
* #143: User colors: implementing [XEP-0392](https://xmpp.org/extensions/xep-0392.html) to have random colors on users nicknames
## 8.4.0
* Fix #87: updating chat room title when video/channel title is changed.

View File

@ -25,8 +25,9 @@ CONVERSE_COMMIT=""
# - Adding "users" icon in the menu toggle button
# - Removing unecessary plugins: headless/pubsub, minimize, notifications, profile, omemo, push, roomlist, dragresize.
# - Destroy room: remove the challenge, and the new JID
# - New config option [colorize_username](https://conversejs.org/docs/html/configuration.html#colorize_username)
CONVERSE_VERSION="livechat-8.2.0"
CONVERSE_COMMIT="cb6c0bd87c0078d5c62308fc3b83efd5019f993c"
CONVERSE_COMMIT="ae1b576d5c9d2691df896d603cd65726b3e04480"
CONVERSE_REPO="https://github.com/JohnXLivingston/converse.js"
rootdir="$(pwd)"

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