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
dfd5df4265
Removed unused search functions for calendar.
2026-02-13 11:56:57 +03:00
23rd
9e434a9136
Added initial ability to info list widget to jump to date.
2026-02-13 11:56:56 +03:00
John Preston
28434f4bee
Full support and build fix.
2025-12-22 17:56:55 +04:00
23rd
eca8dfb0ec
Renamed rpl::start_with_ with rpl::on_.
2025-12-10 21:28:33 +03:00
John Preston
b4d1ba07a6
Initial forum support in bots data classes.
2025-10-10 09:26:57 +04:00
John Preston
dfc1ec3ccf
Support shared media / pins for sublists.
2025-06-04 10:00:23 +04:00
John Preston
d59eb8e731
Support global media in chats search.
2024-12-17 21:17:14 +04:00
John Preston
f223ae7eee
Implement chats preview, show from unread.
2024-05-28 21:42:00 +04:00
John Preston
0faf801de7
Update API scheme to layer 171.
2024-01-16 11:16:27 +04:00
John Preston
ead40c759e
Update API scheme to layer 170.
2023-12-31 19:42:23 +04:00
John Preston
c7741cb62a
Apply short topic info from channelMessages.
2022-11-22 00:26:48 +00:00
John Preston
58b8eb8e96
Implement per-topic shared media.
2022-11-01 19:25:37 +04:00
23rd
c9bd0ab725
Replaced MTP types with type aliases for shared media api.
2022-06-14 18:51:53 +04:00
John Preston
0fa458737a
Fix shared media loading.
2021-12-02 13:54:30 +04:00
23rd
3647241f71
Removed unused MTP::Error from callbacks on fail.
2021-11-30 17:37:07 +04:00
John Preston
a6c98f4bb4
Update API scheme to layer 133.
2021-09-07 23:41:07 +03:00
John Preston
116a768fde
Don't use MTP* for Message flags.
2021-07-28 15:28:17 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
fc92e3fadd
Add pinned messages section.
2020-10-30 18:32:20 +03:00
John Preston
cc28ba4284
Update API scheme to layer 120.
2020-10-30 18:32:17 +03:00
John Preston
55edb3bdfe
Update API scheme to layer 119. Count replies.
2020-09-29 19:03:18 +03:00
John Preston
3878a1b212
Remove some more Auth() calls.
2020-06-23 21:53:38 +04:00
John Preston
844e9b60dd
Fix crash in SearchController.
...
Data::Histories cancels request in Main::Session::api(), so the
request must be sent using this global api(), not custom MTP::Sender.
2020-02-25 16:13:07 +04:00
John Preston
ec7a2dce2f
Search through Histories.
2020-02-21 18:48:30 +04:00
John Preston
6f672ecdc3
Request history parts through Histories.
2020-02-21 18:48:30 +04:00
John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +03:00
John Preston
02b65a42f7
Move message client flags to a separate field.
2019-08-09 20:19:23 +01:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
d1a9d3992b
API scheme updated to layer 76.
2018-02-08 12:20:49 +03:00
John Preston
97a9089ebf
Move draw / getState code to HistoryView::Message.
...
Item dimensions broken for now.
Also remove history.h from pch.
2018-02-08 12:20:48 +03:00
John Preston
bee474f6e9
Remove history_item and layout from pch.
...
Also move some code to separate modules.
Also create history item views by Window::Controller.
2018-02-08 12:20:47 +03:00
John Preston
794e31505b
First version of feed section view.
2018-02-08 12:20:46 +03:00
John Preston
6a9556d42c
Move non-settings session data to Data::Session.
...
Rename AuthSessionData to AuthSessionSettings, move data away.
2018-02-08 12:20:46 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
54d6673d0b
Display photos and videos together in MediaView.
2017-12-28 13:12:07 +03:00
John Preston
8e45b09083
Use different indentation for rpl operators.
...
It works better with Visual Studio IDE.
2017-12-26 19:20:07 +03:00
John Preston
67d4eb688a
Reverse user and chat profile photos.
2017-11-23 13:58:12 +04:00
John Preston
6ca105a290
Minimal layer 72 support.
2017-11-20 23:54:05 +04:00
John Preston
8dfccf55d1
Add shared media empty placeholders.
2017-11-16 07:59:12 +04:00
John Preston
47a52b0587
Moved several modules from history/ to data/.
2017-11-16 07:59:09 +04:00