21 Commits

Author SHA1 Message Date
23rd 2b89fb9d40 [poll-shared] Added Polls section.
- Introduced SharedMediaType::Poll and registered poll messages
as shared media in data_media_types.

- Added Data::PollMessagesViewer — a producer that loaded poll
message slices for a given history/topic/monoforum peer.
(data_poll_messages.cpp/h)

- Implemented Info::Polls::ListWidget and ListMemento — a new content
widget that rendered poll messages using HistoryView::ListWidget
with a custom chat theme, similar to existing shared media sections.

- Connected the new section into info_memento, info_controller,
info_media_buttons, and info_media_widget so it appeared as a button
in the Shared Media panel.
2026-03-28 10:29:08 +03:00
23rd 2fc23dc8fb Added simple tooltip to shared media buttons in profile.
Related commit: d6ba6ac41e.
2026-02-16 13:15:02 +03:00
23rd cb13636622 Fixed profile gifts button showing empty before recent gifts loaded. 2026-02-13 11:56:57 +03:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
23rd 130176fd7e Replaced raw DocumentId with full star gift data in api recent gifts. 2025-10-28 13:53:39 +03:00
John Preston 0d6ea0845e Make nice music button in profile. 2025-08-31 20:53:11 +04:00
John Preston b8e10fb34b Proof-of-concept saved music API support. 2025-08-31 20:53:11 +04:00
John Preston 79650cf318 Support collection links. 2025-07-31 22:20:18 +04:00
John Preston 1c251a308a Allow loading stories in different albums. 2025-07-31 22:20:18 +04:00
23rd 20815eecbc Fixed request of recent gifts only when peer has gifts. 2025-07-02 10:18:22 +03:00
23rd 7253d764d2 Guarded requests of recent gifts for button from shared media section. 2025-07-02 11:05:48 +04:00
23rd cd8e944751 Added recent gifts to section of shared media from info profile. 2025-06-29 21:14:20 +03:00
John Preston dfc1ec3ccf Support shared media / pins for sublists. 2025-06-04 10:00:23 +04:00
John Preston 76db55ff19 Support forwarding to monoforums. 2025-06-04 10:00:18 +04:00
John Preston 21f8403357 Merge SublistSection into ChatSection. 2025-06-04 10:00:18 +04:00
John Preston d3f9a84a0a Allow enabling direct messages in channels. 2025-06-04 10:00:14 +04:00
23rd b45a696b5d Fixed build of macOS on Github CI. 2025-05-17 09:22:12 +03:00
John Preston f51320d1bc Add some more frozen restrictions. 2025-03-26 07:13:15 +04:00
23rd f89bac7781 Improved handle of existing separated windows for shared media. 2025-01-30 13:59:53 +03:00
23rd 1d8a7f8fd3 Removed redundant template from Info::Media::AddCountedButton. 2025-01-30 13:59:35 +03:00
23rd ef9f7ab27a Moved process of separated window for shared media to correspond file. 2025-01-30 13:59:00 +03:00