commit 092d84f4990e1841cdc609bf7fd4702166a09465
parent c6a226fff8af479c8d168c7a753ed8df33a0f3f2
Author: William Casarin <jb55@jb55.com>
Date: Fri, 23 Jun 2023 09:53:52 +0200
eventholder: don't push view updates on queued events
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Util/EventHolder.swift b/damus/Util/EventHolder.swift
@@ -11,7 +11,7 @@ import Foundation
class EventHolder: ObservableObject, ScrollQueue {
private var has_event: Set<String>
@Published var events: [NostrEvent]
- @Published var incoming: [NostrEvent]
+ var incoming: [NostrEvent]
var should_queue: Bool
var on_queue: ((NostrEvent) -> Void)?