MessageInsertExtension

internal interface MessageInsertExtension

Explaining that this is mainly used to share a bit of logic between MessageDAO and MigrationDAO

Inheritors

Functions

Link copied to clipboard
Link copied to clipboard
abstract suspend fun insertMessageOrIgnore(message: MessageEntity, withUnreadEvents: Boolean = true)
Link copied to clipboard
abstract suspend fun updateAssetMessageIfValid(message: MessageEntity): Boolean

Updates an existing asset from the same sender, returning whether a valid follow-up was applied.