23rd
29e6fe700a
Fixed leaks of sending albums on logout and paid media failure.
2026-09-13 10:05:38 +03:00
John Preston
9a26118ae1
Clean up merged music attach code
...
Fold the three AllowsMediaDownloadControls copies into
HistoryItem::allowsMediaDownloadControls, share one retry-or-fail
handler in SendMusicSelectionBatch, reuse MakeMusicSelectionItems
instead of the NormalizeSelections near-copy and extract the
duplicated bot resolution block into applyResolvedBot.
Remove the dead accumulate-from-top machinery from both music
providers and the list widget, the subscriber-less slice snapshot
stream, the never-started search section request timer and the
unused Result::isAudioResult.
Consolidate the sixteen MusicAttachBox make_state allocations into
one State struct, fix the include order, use base::take for the
request waiters, replace the removeFromAlbum if-with-initializer
with a plain null-checked session and type kSearchRequestDelay as
crl::time.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-15 08:45:58 +04:00
John Preston
cb74cfa8f9
Fix sending with ephemeral messages.
2026-08-14 16:23:44 +04:00
John Preston
ec689724ae
Initial ability to send audio in attaches.
2026-08-14 16:23:44 +04:00
23rd
29b61a4941
[ttl-media] Added chosen timer to sending pipeline.
2026-08-12 13:36:02 +03:00
23rd
90c89dcde9
Added missing const to local references in some files.
2026-08-12 13:36:02 +03:00
John Preston
e5bcebc8aa
Correct view of welcome messages.
2026-08-10 18:42:48 +04:00
John Preston
896b626cff
Enable media sending in Welcome Messages editor
...
Task: 2026/07/23/send-media-in-welcome-message-editor
2026-08-10 18:42:48 +04:00
23rd
c13d921e92
Added ephemeral flag to command-caption media.
2026-07-16 08:04:45 +03:00
23rd
28f574154e
Added file reference refresh to ephemeral media sends.
2026-07-15 13:11:47 +04:00
John Preston
fd9bcb2489
Fix location sends replying to ephemeral messages
2026-07-10 14:04:31 +04:00
23rd
112913cd53
Supported ephemeral media replies to bots.
2026-07-10 14:04:28 +04:00
John Preston
ca52419c2a
Pass scheduleRepeatePeriod for media correctly.
2026-05-12 10:53:22 +04:00
John Preston
9f57a82c75
Update API scheme to layer 224.
2026-03-25 13:08:49 +07:00
John Preston
350a5dd7bc
Fix build.
2026-01-03 22:10:33 +04:00
23rd
65c7d0bc39
Added ability to hide under spoiler gif with caption on send.
...
Fixed #30126 .
2026-01-02 17:36:55 +03:00
John Preston
7f70af58ee
Update API scheme on layer 221.
2025-12-29 11:21:22 +04:00
John Preston
4a7148e20a
Initial stake dice game implementation.
2025-12-29 11:21:22 +04:00
John Preston
a96e00e44c
Update API scheme to layer 221.
2025-12-29 11:21:22 +04:00
John Preston
28434f4bee
Full support and build fix.
2025-12-22 17:56:55 +04:00
John Preston
c4d5d52b96
Update API scheme to layer 217.
2025-11-15 11:59:17 +04:00
John Preston
cb987c1baf
PoC suggested accept/decline.
2025-06-27 21:29:34 +04:00
John Preston
7e5a29a5cc
PoC suggesting posts to channels.
2025-06-27 21:29:34 +04:00
John Preston
b965aecc6c
Update API scheme to layer 206.
2025-06-27 21:29:33 +04:00
John Preston
3633c19208
Update API scheme, improve service messages.
2025-03-07 19:03:37 +04:00
John Preston
c38982d286
Simplify paid stars check.
2025-03-07 19:03:37 +04:00
John Preston
5b809c4fc6
Show paid stars information above a message.
2025-03-07 19:03:37 +04:00
John Preston
960cf7a34b
Update API scheme, new paid.
2025-03-07 19:03:37 +04:00
John Preston
bbc14ba74f
Allow sending paid messages.
2025-03-07 19:03:37 +04:00
John Preston
909b01241b
Update API scheme to layer 200.
2025-03-07 19:03:36 +04:00
John Preston
e05bb75b8a
Allow sending videos with covers.
2025-02-12 17:24:24 +04:00
John Preston
a174119877
Update API scheme on layer 198.
2025-01-22 22:13:27 +04:00
John Preston
d0132c0f7b
Update API scheme to layer 198.
2025-01-22 22:13:26 +04:00
John Preston
c010ecfe38
Allow sending one-time round videos.
2024-10-24 13:26:45 +04:00
John Preston
a2fad84dae
Update API scheme to layer 188.
2024-09-19 12:47:54 +04:00
John Preston
08f3a6fb40
Fix local group sent-as display.
2024-08-31 21:48:52 +04:00
John Preston
f3dca6efb7
Show correct signature in send-as channel posts.
2024-08-16 10:54:02 +02:00
John Preston
9ea495f59d
Support group-like channels.
2024-08-14 18:17:52 +02:00
John Preston
9461095c88
Fix build with GCC.
2024-07-19 13:01:08 +03:00
John Preston
2a5071b66c
Initial location sending on Windows.
2024-07-19 11:20:53 +02:00
John Preston
974bf99921
Allow editing spoiler/caption-above in EditCaptionBox.
2024-05-30 21:35:10 +04:00
John Preston
67f7816088
Allow sending photo/video captions above media.
2024-05-30 21:35:10 +04:00
John Preston
e120ae6ae6
Pass effect to API for sending.
2024-05-30 21:35:05 +04:00
John Preston
f8188f360a
Update API scheme to layer 180.
2024-05-30 21:35:05 +04:00
John Preston
b39e78a4a9
Reapply "Remove SendMediaReady legacy helper."
...
This reverts commit 09f07a7a9d .
2024-04-05 09:51:20 +04:00
John Preston
09f07a7a9d
Revert "Remove SendMediaReady legacy helper."
...
This reverts commit 91f8989f70 .
2024-04-04 18:36:07 +04:00
John Preston
91f8989f70
Remove SendMediaReady legacy helper.
2024-04-03 11:59:33 +04:00
John Preston
da7a796edb
Add session->appConfig() shortcut.
2024-04-01 22:44:22 +04:00
John Preston
7c002cf8be
Version 4.15.1: Fix sending media albums.
2024-03-08 15:26:14 +04:00
John Preston
7f3ebde252
Implement sending of shortcutted messages.
2024-03-08 10:53:59 +04:00