Correctly parse activities without "to" or "cc"

parent 6763c5fb
Pipeline #160 failed with stage
in 30 seconds
......@@ -12,10 +12,10 @@ class Activity
getter? signature_present = false
@[JSON::Field(converter: FuzzyStringArrayConverter)]
getter to : Array(String)
getter to : [] of String
@[JSON::Field(converter: FuzzyStringArrayConverter)]
getter cc : Array(String)
getter cc = [] of String
def follow?
types.includes? "Follow"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment