2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Added ability to emplace badge in dialog row for subscribed channels.

This commit is contained in:
23rd
2024-08-11 13:40:43 +03:00
committed by John Preston
parent 81a79e2895
commit dca61541d6
7 changed files with 42 additions and 11 deletions

View File

@@ -164,6 +164,7 @@ inline auto PeerFullFlagValue(
[[nodiscard]] bool OnlineTextActive(not_null<UserData*> user, TimeId now);
[[nodiscard]] bool IsUserOnline(not_null<UserData*> user, TimeId now = 0);
[[nodiscard]] bool ChannelHasActiveCall(not_null<ChannelData*> channel);
[[nodiscard]] bool ChannelHasSubscriptionUntilDate(ChannelData *channel);
[[nodiscard]] rpl::producer<QImage> PeerUserpicImageValue(
not_null<PeerData*> peer,