Allow longform content to be long
Changelog-Changed: Remove note size restriction for longform events
This commit is contained in:
@@ -76,7 +76,7 @@ class NostrEvent: Codable, Identifiable, CustomStringConvertible, Equatable, Has
|
|||||||
}
|
}
|
||||||
|
|
||||||
var too_big: Bool {
|
var too_big: Bool {
|
||||||
return self.content.utf8.count > 16000
|
return known_kind != .longform && self.content.utf8.count > 16000
|
||||||
}
|
}
|
||||||
|
|
||||||
var should_show_event: Bool {
|
var should_show_event: Bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user