File tree Expand file tree Collapse file tree
app/src/main/java/com/nextcloud/talk Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ class ConversationsListActivity : BaseActivity() {
329329
330330 // Share sheet shortcut tap: Android delivers ACTION_SEND with EXTRA_SHORTCUT_ID.
331331 // Extract the room token from the shortcut ID so we can pre-select the conversation.
332- if (hasActivityActionSendIntent()) {
332+ if (Build . VERSION . SDK_INT >= Build . VERSION_CODES . Q && hasActivityActionSendIntent()) {
333333 val shortcutId = intent.getStringExtra(Intent .EXTRA_SHORTCUT_ID )
334334 if (shortcutId != null ) {
335335 pendingDirectShareToken = DirectShareHelper .extractTokenFromShortcutId(shortcutId)
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ private fun ChatMessageUi.hasMentionChips(): Boolean =
144144 message.contains(" {$key }" ) && parameter[" type" ] in mentionChipTypes
145145 }
146146
147- @Suppress(" Detekt.LongMethod" )
147+ @Suppress(" Detekt.LongMethod" , " LongParameterList " )
148148@Composable
149149fun MessageScaffold (
150150 uiMessage : ChatMessageUi ,
@@ -313,6 +313,7 @@ private fun MessageBubbleWithReactions(
313313 }
314314}
315315
316+ @Suppress(" LongParameterList" )
316317@Composable
317318private fun MessageBubbleContent (
318319 uiMessage : ChatMessageUi ,
You can’t perform that action at this time.
0 commit comments