GetStream EnrichedActivity类的复制问题

时间:2019-06-26 06:36:44

标签: swift getstream-io

我试图迅速实施复制协议,以便可以复制活动。但是EnrichedActivity具有让它的属性originFeedId。 并且指定的初始化程序不使用originFeedId参数。下面是getStream iOS Pod中EnrichedActivity初始化程序的代码。

    public init(actor: ActorType,
            verb: Verb,
            object: ObjectType,
            foreignId: String? = nil,
            time: Date? = nil,
            feedIds: FeedIds? = nil) {
    self.actor = actor
    self.verb = verb
    self.object = object
    self.foreignId = foreignId
    self.time = time
    self.feedIds = feedIds
    originFeedId = nil
}

1 个答案:

答案 0 :(得分:0)

我在1.2.1版中进行了修复。请检查一下。