From 7343fcd3998cdec59e3d7b5c2ae1fb35f4a887e9 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 12 Jul 2023 05:37:34 -0700 Subject: [PATCH] Allow longform content to be long Changelog-Changed: Remove note size restriction for longform events --- damus/Nostr/NostrEvent.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Nostr/NostrEvent.swift b/damus/Nostr/NostrEvent.swift index 951cef9e..e65d601c 100644 --- 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 {