MessageInsertExtensionImpl
internal class MessageInsertExtensionImpl(messagesQueries: MessagesQueries, unreadEventsQueries: UnreadEventsQueries, conversationsQueries: ConversationsQueries, buttonContentQueries: ButtonContentQueries, selfUserIDEntity: UserIDEntity) : MessageInsertExtension
Constructors
Link copied to clipboard
constructor(messagesQueries: MessagesQueries, unreadEventsQueries: UnreadEventsQueries, conversationsQueries: ConversationsQueries, buttonContentQueries: ButtonContentQueries, selfUserIDEntity: UserIDEntity)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns true if the message is an asset message that is already in the DB and any of its decryption keys are null/empty. This means that this asset message that is in the DB was only a preview message with valid metadata but no valid keys (Web clients send 2 separated messages). Therefore, it still needs to be updated with the valid keys in order to be displayed.
Link copied to clipboard