damus

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

commit 7343fcd3998cdec59e3d7b5c2ae1fb35f4a887e9
parent 5571052cfd047acaba7feea063d72388f0f6e889
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 12 Jul 2023 05:37:34 -0700

Allow longform content to be long

Changelog-Changed: Remove note size restriction for longform events

Diffstat:
Mdamus/Nostr/NostrEvent.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Nostr/NostrEvent.swift b/damus/Nostr/NostrEvent.swift @@ -76,7 +76,7 @@ class NostrEvent: Codable, Identifiable, CustomStringConvertible, Equatable, Has } var too_big: Bool { - return self.content.utf8.count > 16000 + return known_kind != .longform && self.content.utf8.count > 16000 } var should_show_event: Bool {