| 1192 | } |
| 1193 | |
| 1194 | FullMsgId Histories::convertTopicReplyToId( |
| 1195 | not_null<History*> history, |
| 1196 | FullMsgId replyToId) const { |
| 1197 | const auto id = (history->peer->id == replyToId.peer) |
| 1198 | ? convertTopicReplyToId(history, replyToId.msg) |
| 1199 | : replyToId.msg; |
| 1200 | return { replyToId.peer, id }; |
| 1201 | } |
| 1202 | |
| 1203 | MsgId Histories::convertTopicReplyToId( |
| 1204 | not_null<History*> history, |
no test coverage detected