2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 00:15:42 +00:00

Show saved stories / current stories in channels.

This commit is contained in:
John Preston
2023-09-01 15:20:55 +04:00
parent f3e65181cd
commit f3647d7f8c
4 changed files with 12 additions and 13 deletions

View File

@@ -2218,7 +2218,7 @@ bool SessionController::openSharedStory(HistoryItem *item) {
bool SessionController::openFakeItemStory(
FullMsgId fakeItemId,
const Data::StoriesContext *stories) {
if (!peerIsUser(fakeItemId.peer)
if (peerIsChat(fakeItemId.peer)
|| !IsStoryMsgId(fakeItemId.msg)) {
return false;
}