Fix: clicking on the current user nickname in message history was failing to open the profile modal.

This commit is contained in:
John Livingston
2024-07-31 17:45:51 +02:00
parent a46425d51f
commit 70f702f78e
3 changed files with 29 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import { initReconnectionStuff } from './livechat-specific/reconnection'
import { chatRoomOverrides } from './livechat-specific/chatroom'
import { chatRoomMessageOverrides } from './livechat-specific/chatroom-message'
import { customizeMessageAction } from './livechat-specific/message-action'
import { customizeProfileModal } from './livechat-specific/profile'
export const livechatSpecificsPlugin = {
dependencies: ['converse-muc', 'converse-muc-views'],
@ -24,6 +25,7 @@ export const livechatSpecificsPlugin = {
customizeHeading(this)
customizeToolbar(this)
customizeMessageAction(this)
customizeProfileModal(this)
_converse.api.listen.on('chatRoomViewInitialized', function (this: any, _model: any): void {
// Remove the spinner if present...