MessageMigrationUtils

class MessageMigrationUtils(val di: DI) : DIAware

Utility responsible for migrating legacy messages to the newer conversation-ID–based chat naming format.

It inspects all existing messages, infers correct conversation IDs, and rewrites their chat field when necessary.

This allows older installations to transition cleanly to the standardized conversation model.

Constructors

Link copied to clipboard
constructor(di: DI)

Properties

Link copied to clipboard
open override val di: DI
Link copied to clipboard
open val diContext: DIContext<*>
Link copied to clipboard
open val diTrigger: DITrigger?

Functions

Link copied to clipboard

Migrates all historical messages so that each message's chat value follows the modern conversation ID format.