Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class ConversationsListActivity : BaseActivity() {

// Share sheet shortcut tap: Android delivers ACTION_SEND with EXTRA_SHORTCUT_ID.
// Extract the room token from the shortcut ID so we can pre-select the conversation.
if (hasActivityActionSendIntent()) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q && hasActivityActionSendIntent()) {
val shortcutId = intent.getStringExtra(Intent.EXTRA_SHORTCUT_ID)
if (shortcutId != null) {
pendingDirectShareToken = DirectShareHelper.extractTokenFromShortcutId(shortcutId)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private fun ChatMessageUi.hasMentionChips(): Boolean =
message.contains("{$key}") && parameter["type"] in mentionChipTypes
}

@Suppress("Detekt.LongMethod")
@Suppress("Detekt.LongMethod", "LongParameterList")
@Composable
fun MessageScaffold(
uiMessage: ChatMessageUi,
Expand Down Expand Up @@ -313,6 +313,7 @@ private fun MessageBubbleWithReactions(
}
}

@Suppress("LongParameterList")
@Composable
private fun MessageBubbleContent(
uiMessage: ChatMessageUi,
Expand Down
Loading