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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user