mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
no message
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user