Custom channel emoticons WIP (#130): federation

This commit is contained in:
John Livingston
2024-06-06 18:04:17 +02:00
parent 3c65aa3fd3
commit 200d21d5a6
6 changed files with 58 additions and 4 deletions

View File

@ -272,7 +272,10 @@ async function _connectionInfos (
}
roomJID = remoteConnectionInfos.roomJID
// TODO: fill customEmojisUrl (how to get the info? is the remote livechat compatible?)
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
if (remoteChatInfos && remoteChatInfos.customEmojisUrl) {
customEmojisUrl = remoteChatInfos.customEmojisUrl
}
} else {
try {
roomJID = await _localRoomJID(