2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Don't add peer saved / stories in topics profiles.

This commit is contained in:
John Preston
2024-02-17 10:53:41 +04:00
parent 46d11b6dcb
commit 41d3e16c7d

View File

@@ -231,8 +231,10 @@ object_ptr<Ui::RpWidget> InnerWidget::setupSharedMedia(
st::infoSharedMediaButtonIconPosition);
};
addStoriesButton(_peer, st::infoIconMediaStories);
addSavedSublistButton(_peer, st::infoIconMediaSaved);
if (!_topic) {
addStoriesButton(_peer, st::infoIconMediaStories);
addSavedSublistButton(_peer, st::infoIconMediaSaved);
}
addMediaButton(MediaType::Photo, st::infoIconMediaPhoto);
addMediaButton(MediaType::Video, st::infoIconMediaVideo);
addMediaButton(MediaType::File, st::infoIconMediaFile);