Initializing the isHidden state for the note correctly

This commit is contained in:
Vitor Pamplona 2023-12-29 19:44:48 -05:00
parent 2355a95202
commit 89fb83cd9a

View File

@ -130,7 +130,7 @@ fun CheckHiddenChatMessage(
accountViewModel.account.liveHiddenUsers.map {
baseNote.isHiddenFor(it)
}.distinctUntilChanged()
}.observeAsState(false)
}.observeAsState(accountViewModel.isNoteHidden(baseNote))
if (!isHidden) {
LoadedChatMessageCompose(