feat: enhance forwarded messages display by enabling link support
This commit is contained in:
@@ -888,6 +888,7 @@ fun MainScreen(
|
||||
user = currentChatUser,
|
||||
currentUserPublicKey = accountPublicKey,
|
||||
currentUserPrivateKey = accountPrivateKey,
|
||||
currentUserName = accountName,
|
||||
onBack = { popChatAndChildren() },
|
||||
onUserProfileClick = { user ->
|
||||
// Открываем профиль другого пользователя
|
||||
@@ -971,7 +972,13 @@ fun MainScreen(
|
||||
},
|
||||
avatarRepository = avatarRepository,
|
||||
currentUserPublicKey = accountPublicKey,
|
||||
currentUserPrivateKey = accountPrivateKey
|
||||
currentUserPrivateKey = accountPrivateKey,
|
||||
onWriteMessage = { chatUser ->
|
||||
// Close profile and navigate to chat
|
||||
navStack = navStack.filterNot {
|
||||
it is Screen.OtherProfile || it is Screen.ChatDetail
|
||||
} + Screen.ChatDetail(chatUser)
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user