mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Don't generate threadId without replyToTopId
This commit is contained in:
parent
8766fe93dd
commit
326555ab77
@ -451,10 +451,6 @@ extension StoreMessage {
|
|||||||
if replyPeerId == peerId {
|
if replyPeerId == peerId {
|
||||||
threadId = makeMessageThreadId(threadIdValue)
|
threadId = makeMessageThreadId(threadIdValue)
|
||||||
}
|
}
|
||||||
} else if peerId.namespace == Namespaces.Peer.CloudChannel {
|
|
||||||
let threadIdValue = MessageId(peerId: replyPeerId, namespace: Namespaces.Message.Cloud, id: replyToMsgId)
|
|
||||||
threadMessageId = threadIdValue
|
|
||||||
threadId = makeMessageThreadId(threadIdValue)
|
|
||||||
}
|
}
|
||||||
attributes.append(ReplyMessageAttribute(messageId: MessageId(peerId: replyPeerId, namespace: Namespaces.Message.Cloud, id: replyToMsgId), threadMessageId: threadMessageId))
|
attributes.append(ReplyMessageAttribute(messageId: MessageId(peerId: replyPeerId, namespace: Namespaces.Message.Cloud, id: replyToMsgId), threadMessageId: threadMessageId))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user