ndb: implement eventref building from ndb notes
This commit is contained in:
1 parent
c8e236b6d5
commit
1e9e4a7f3a
8 files changed
+209
-31
No files matched your search
@@ -7,7 +7,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
enum EventRef {
|
||||
enum EventRef: Equatable {
|
||||
case mention(Mention)
|
||||
case thread_id(ReferencedId)
|
||||
case reply(ReferencedId)
|
||||
|
||||
@@ -158,7 +158,7 @@ func render_blocks(blocks: [Block]) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
struct Blocks {
|
||||
struct Blocks: Equatable {
|
||||
let words: Int
|
||||
let blocks: [Block]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user