Fixes bug in checking bookmarks without running the onReady.

This commit is contained in:
Vitor Pamplona
2024-01-11 10:09:19 -05:00
parent 0fc72eb84d
commit f1e721f323
@@ -1784,7 +1784,14 @@ class Account(
note: Note,
onReady: (Boolean) -> Unit,
) {
if (!isWriteable()) return
if (!isWriteable()) {
onReady(false)
false
}
if (userProfile().latestBookmarkList == null) {
onReady(false)
false
}
if (note is AddressableNote) {
userProfile().latestBookmarkList?.privateTaggedAddresses(signer) {