Allow longform content to be long

Changelog-Changed: Remove note size restriction for longform events
This commit is contained in:
William Casarin
2023-07-12 05:37:34 -07:00
parent 5571052cfd
commit 7343fcd399

View File

@@ -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 {