Implements #146: copy message button for moderators
We overload the copy message method that comes with Converse 11, to add the message metadata (nick and full date).
This commit is contained in:
@ -7,6 +7,7 @@ import { customizeToolbar } from './livechat-specific/toolbar'
|
||||
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'
|
||||
|
||||
export const livechatSpecificsPlugin = {
|
||||
dependencies: ['converse-muc', 'converse-muc-views'],
|
||||
@ -22,6 +23,7 @@ export const livechatSpecificsPlugin = {
|
||||
|
||||
customizeHeading(this)
|
||||
customizeToolbar(this)
|
||||
customizeMessageAction(this)
|
||||
|
||||
_converse.api.listen.on('chatRoomViewInitialized', function (this: any, _model: any): void {
|
||||
// Remove the spinner if present...
|
||||
|
Reference in New Issue
Block a user