Commit Graph

2750 Commits

Author SHA1 Message Date
23rd bba4eba3d5 Added ability to manage owned custom emoji packs from sticker set box. 2026-04-23 21:09:43 +03:00
John Preston eac7141ce7 Use photo as video thumbnail in webpage. 2026-04-20 10:54:47 +07:00
John Preston 02f0d7bb8a Don't set empty good thumbnail.
Image(QImage&&) for isNull() sets a fully transparent QImage.
This leads to uninitialized memory QImages in prepared thumbnails,
because we allocate QImage and start painting thumbnail parts in it.
2026-04-19 23:06:43 +07:00
John Preston 9878ee6fa7 Improve work on original video quality. 2026-04-19 22:19:47 +07:00
cumdev1337 827ec824d1 Bring back original video quality option 2026-04-19 17:03:38 +07:00
Sergey A. Osokin d53ee9c241 Fix warnings. 2026-04-17 22:04:20 +07:00
John Preston 9af4fb4a26 Improve text-tight bubble width, appear animation. 2026-04-12 17:43:00 +07:00
23rd f4cbbb251f Moved unread voice dot indicator next to media label in dialog list.
Related commit: 9febcd88d4.
2026-04-11 09:11:16 +03:00
John Preston 05cf8aaa0f Suggest sending large texts as files. 2026-04-10 19:26:30 +07:00
John Preston 4646cc7f21 Correct text appear continuation. 2026-04-10 14:21:50 +07:00
John Preston 432072a3d4 Stream several messages together. 2026-04-10 14:21:30 +07:00
23rd 88404cfddb Removed unused private fields. 2026-04-09 12:36:51 +03:00
John Preston 4009a47377 Fix word-wrapping of streamed text. 2026-04-08 23:14:07 +07:00
John Preston 55e284729e Initial implementation of gradual draft streaming. 2026-04-07 22:26:41 +07:00
23rd 6f4ed6883b Fixed userpic photo origin to use full user for refresh. 2026-04-06 11:49:28 +03:00
23rd ec94dc26ac Fixed file reference refresh for group and channel photos. 2026-04-06 11:49:27 +03:00
23rd 8decb55e51 Fixed file reference refresh for user personal and fallback photos. 2026-04-06 11:49:27 +03:00
John Preston 00bd28278d Show unofficial app warning. 2026-04-06 15:43:44 +07:00
23rd 2c003bc22e Fixed possible crash on huge timer tick for polls with close date. 2026-04-02 00:42:10 +07:00
John Preston b6ae741000 Implement managed bot creation limits toasts. 2026-04-01 00:16:22 +07:00
John Preston 95a53d51a3 "Set Bot Photo" button in managed bots. 2026-03-31 12:59:34 +07:00
23rd aa5e0440d4 Replaced int botStatus with a type-safe Data::BotStatus enum class. 2026-03-30 13:42:23 +03:00
23rd d5f4c5366c [poll-create] Changed default enabled settings. 2026-03-30 10:19:14 +03:00
23rd 094c43293d Added support of notifications for poll votes. 2026-03-30 10:19:14 +03:00
23rd a479459d76 Added support of link to specific option in poll. 2026-03-30 10:19:14 +03:00
23rd bcb447520e Added printable representation to PollData. 2026-03-30 10:19:14 +03:00
23rd 7cd8b21af9 [poll-view] Improved support of hidden-results state with toast. 2026-03-30 10:19:14 +03:00
23rd ec3d981998 Fixed file reference refresh for media within poll. 2026-03-30 10:19:14 +03:00
23rd 6b5b32a62a Added unread_poll_votes_count parsing in ForumTopic.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 10:29:13 +03:00
23rd bb84330289 Added ability to forward poll without description. 2026-03-28 10:29:13 +03:00
23rd 42eaddfaba Added geolocation support to poll answer media data layer. 2026-03-28 10:29:13 +03:00
23rd b01e0b77fe Added support of unread poll votes to corner button from history widget. 2026-03-28 10:29:12 +03:00
23rd 7942a24c0c [poll-shared] Added initial search support. 2026-03-28 10:29:12 +03:00
23rd cbf8f791bb [poll-view] Added poll option author info to context menu. 2026-03-28 10:29:09 +03:00
23rd 27e04f3e0c Added creator flag to PollData. 2026-03-28 10:29:09 +03:00
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 554ba411f6 [poll-view] Added initial support of reply to poll answers. 2026-03-28 10:29:08 +03:00
23rd 8e746dcfbd Replaced MTPInputMedia with domain-level PollMedia in poll data structs. 2026-03-28 10:29:08 +03:00
23rd bbdc6abea8 Added recent voters to media view. 2026-03-28 10:29:08 +03:00
23rd 39b3f0a386 [poll-view] Added initial support of attached photo and description. 2026-03-28 10:29:08 +03:00
23rd c32fbf918f [poll-view] Added initial display of photo and stickers. 2026-03-28 10:29:07 +03:00
23rd 8145b0b96e [poll-create] Added files support for poll media. 2026-03-28 10:29:07 +03:00
23rd 546c786ed3 [poll-create] Added poll option toggle to extend poll with new answers. 2026-03-28 10:29:07 +03:00
23rd e613a89d02 [poll-create] Added poll option toggle to disable revoting. 2026-03-28 10:29:07 +03:00
23rd 945373eb5b [poll-create] Added poll option toggle for shuffled options. 2026-03-28 10:29:07 +03:00
John Preston 3a5b2c6ecf Add a Create Bot button to link preview. 2026-03-25 18:24:41 +07:00
23rd 90eda7c03a Fixed build. 2026-03-25 13:08:50 +07:00
John Preston 358a9f87a1 Initial support for managed bot creation. 2026-03-25 13:08:50 +07:00
John Preston 68dd72f4fe Update API scheme on layer 224. 2026-03-25 13:08:49 +07:00
John Preston 4fcfbed7d2 Allow filtering resale gifts by-stars-only. 2026-03-25 13:08:49 +07:00