Skip to content

Commit

Permalink
Initializing the isHidden state for the note correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed Dec 30, 2023
1 parent 2355a95 commit 89fb83c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ fun CheckHiddenChatMessage(
accountViewModel.account.liveHiddenUsers.map {
baseNote.isHiddenFor(it)
}.distinctUntilChanged()
}.observeAsState(false)
}.observeAsState(accountViewModel.isNoteHidden(baseNote))

if (!isHidden) {
LoadedChatMessageCompose(
Expand Down

0 comments on commit 89fb83c

Please sign in to comment.