mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Profile done as a new generic Window::SectionWidget.
Slide animation reimplemented.
This commit is contained in:
@@ -75,6 +75,14 @@ inline void showPeerProfile(const History *history) {
|
||||
showPeerProfile(history->peer->id);
|
||||
}
|
||||
|
||||
void showPeerOverview(const PeerId &peer, MediaOverviewType type);
|
||||
inline void showPeerOverview(const PeerData *peer, MediaOverviewType type) {
|
||||
showPeerOverview(peer->id, type);
|
||||
}
|
||||
inline void showPeerOverview(const History *history, MediaOverviewType type) {
|
||||
showPeerOverview(history->peer->id, type);
|
||||
}
|
||||
|
||||
void showPeerHistory(const PeerId &peer, MsgId msgId, bool back = false);
|
||||
inline void showPeerHistory(const PeerData *peer, MsgId msgId, bool back = false) {
|
||||
showPeerHistory(peer->id, msgId, back);
|
||||
|
Reference in New Issue
Block a user