damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 0af91987c391de8be44e59dd14bc64da6ebd622e
parent 39ab555a77cafc75f413c97187f9545c72dfda00
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 10 Aug 2022 12:11:41 -0700

fix chatroom easteregg bug

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Views/ThreadView.swift | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/damus/Views/ThreadView.swift b/damus/Views/ThreadView.swift @@ -47,6 +47,9 @@ struct ThreadView: View { return } if let ev = thread.events.first { + guard ev.is_root_event() else { + return + } seen_first = true is_chatroom = has_hashtag(ev.tags, hashtag: "chat") }