2024-07-25 16:03:46 +00:00
|
|
|
// SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2024-09-09 18:01:25 +00:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
|
|
export function chatRoomMessageOverrides (): Record<string, Function> {
|
2024-07-25 16:03:46 +00:00
|
|
|
return {
|
|
|
|
/* By default, ConverseJS groups messages from the same users for a 10 minutes period.
|
|
|
|
* This make no sense in a livechat room. So we override isFollowup to ignore. */
|
|
|
|
isFollowup: function isFollowup () { return false }
|
|
|
|
}
|
|
|
|
}
|