no message

This commit is contained in:
Peter Iakovlev
2018-03-13 21:40:16 +04:00
parent 96a5ec6ecc
commit bfe30a0f9c
17 changed files with 374 additions and 817 deletions

View File

@@ -81,9 +81,10 @@ func fetchPeerCloudReadState(network: Network, postbox: Postbox, peerId: PeerId,
apiReadInboxMaxId = readInboxMaxId
apiReadOutboxMaxId = readOutboxMaxId
apiUnreadCount = unreadCount
case .dialogFeed:
/*feed*/
/*case .dialogFeed:
assertionFailure()
return nil
return nil*/
}
return .idBased(maxIncomingReadId: apiReadInboxMaxId, maxOutgoingReadId: apiReadOutboxMaxId, maxKnownId: apiTopMessage, count: apiUnreadCount)
@@ -122,9 +123,10 @@ private func dialogReadState(network: Network, postbox: Postbox, peerId: PeerId)
if let pts = pts {
apiChannelPts = pts
}
case .dialogFeed:
/*feed*/
/*case .dialogFeed:
assertionFailure()
return .fail(.Abort)
return .fail(.Abort)*/
}
let marker: PeerReadStateMarker