getOrCreateConversation

suspend fun getOrCreateConversation(localUuid: String, remoteUser: UserEntity): Conversation

Retrieves an existing conversation or creates a new one if it does not exist.

Return

The existing or newly created Conversation.

Parameters

localUuid

The UUID of the local user.

remoteUser

The remote user entity to associate with the conversation.