diff --git a/Pachyderm/Sources/Pachyderm/Model/Notification.swift b/Pachyderm/Sources/Pachyderm/Model/Notification.swift index 84ca0025..fd04818f 100644 --- a/Pachyderm/Sources/Pachyderm/Model/Notification.swift +++ b/Pachyderm/Sources/Pachyderm/Model/Notification.swift @@ -21,6 +21,10 @@ public class Notification: Decodable { self.id = try container.decode(String.self, forKey: .id) if let kind = try? container.decode(Kind.self, forKey: .kind) { self.kind = kind + } else if let s = try? container.decode(String.self, forKey: .kind), + s == "status" { + // represent notifications of other people posting as regular mentions for now + self.kind = .mention } else { self.kind = .unknown }