ndb: switch profile queries to use transactions
this should ensure no crashing occurs when querying profiles
This commit is contained in:
@@ -28,7 +28,7 @@ struct EventActionBar: View {
|
||||
}
|
||||
|
||||
var lnurl: String? {
|
||||
damus_state.profiles.lookup_with_timestamp(event.pubkey)?.lnurl
|
||||
damus_state.profiles.lookup_with_timestamp(event.pubkey).map({ pr in pr?.lnurl }).value
|
||||
}
|
||||
|
||||
var show_like: Bool {
|
||||
|
||||
Reference in New Issue
Block a user