Package-level declarations

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Message.isMine(chatClient: ChatClient): Boolean
fun Message.isMine(currentUser: User?): Boolean
Link copied to clipboard
Link copied to clipboard
fun <T> Flow<T>.onFirst(onFirst: (T) -> Unit): Flow<T>

Calls the onFirst lambda when the first element is emitted by the upstream Flow.

Link copied to clipboard

Saves to shared prefs that a permission has been requested.

Link copied to clipboard
fun MessageFooterVisibility.shouldShowMessageFooter(message: Message, isLastMessageInGroup: Boolean, nextMessage: Message?): Boolean

Decides if we need to show the message footer (timestamp) below the message.

Link copied to clipboard