Commit Graph

653 Commits

Author SHA1 Message Date
John Preston
c5c3f4a7ab Fix chat closing and removing from list on restricted self receive.
I hope this fixes #31172, fixes #31174.
2026-08-25 18:59:50 +04:00
23rd
7094102a90 Deferred filter list lookup until chat membership is known. 2026-08-24 07:51:05 +03:00
23rd
14454053fc Replaced option lookup with cached flag in dialogs sort key.
Related commits: 5d52a283d4, 8509f9e410.
2026-08-24 07:51:04 +03:00
John Preston
e9399834de Present community joins service messages.
Task: 2026/08/14/fix-refreshed-layer-230-scheme-and-community-joins
2026-08-22 15:13:36 +04:00
John Preston
38aec1e3d4 Fix build on Linux. 2026-08-19 00:33:28 +04:00
John Preston
3667c0e7ae Attribute poll vote notifications to the voted message
Task: 2026/08/18/attribute-poll-vote-notifications-to-voted-message
2026-08-18 18:15:11 +04:00
John Preston
9caa7f7469 [chat] Resolve reviewed follow-ups: restriction bar, access errors, perf.
- Send-restriction UI now has a single owner: ComposeControls' write
  restriction bar, matching Replies/Sublist modes. BottomControls'
  duplicate (overlapping, wrongly sized) bar is removed and the
  monoforum-admin "choose a message to reply" state is ported into the
  section's write restriction producer.
- History load failures with CHANNEL_PRIVATE / CHANNEL_PUBLIC_GROUP_NA /
  USER_BANNED_IN_CHANNEL close the chat with the not-accessible toast
  (and handle expired invite peeks), like the legacy view, via a new
  Data::Session::historyAccessLost signal fired from
  ApiWrap::requestHistory.
- SparseIdsList::Slice::merge inserts single ids instead of re-sorting
  the whole accumulated set, so the every-message full-history index
  updates in O(log n) instead of O(n log n).
- Unread counting queries the index in place through the new
  SparseIdsList::countAfter instead of copying up to 10000 ids on every
  read-marking tick.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-18 11:17:57 +04:00
John Preston
e2bc4cef5b Clear directly-deleted local photos from cache. 2026-08-14 13:27:51 +04:00
John Preston
59d475ec41 Don't suggest export when passlocked. 2026-08-13 17:10:34 +04:00
John Preston
682972abb1 Reject kicked private channel post links
Task: 2026/08/13/reject-kicked-channel-post-links
2026-08-13 14:52:31 +04:00
23rd
b028c7d22c [ttl-media] Added expiry engine with cache eviction. 2026-08-12 13:36:02 +03:00
John Preston
a1f3dfb961 Replace anchored posts with ephemeral messages
Task: 2026/08/06/replace-anchored-posts-with-ephemeral-messages
2026-08-10 18:42:49 +04:00
John Preston
a66544cc35 Add welcome messages editing section for groups.
Task: 2026/07/21/edit-group-welcome-messages
2026-08-10 18:42:47 +04:00
23rd
abc4e368e4 Fixed restoring pinned community dialogs on launch. 2026-08-05 11:38:37 +04:00
23rd
fb5646090c Fixed crash on quit by clearing folder chats lists before main one. 2026-07-27 14:04:37 +03:00
John Preston
461544a09a Fix crash in community grouping toggle with pinned chats. 2026-07-16 14:00:41 +04:00
John Preston
3e003fb090 Support user.linked_community_id from layer 229 2026-07-10 14:04:30 +04:00
John Preston
205613d629 Adapt community parsing to collapsed_in_dialogs flag
The community schema turned collapsed_in_dialogs into a plain flag bit, trustworthy except on min updates.
2026-07-10 14:04:27 +04:00
John Preston
a0fd43642a Update API scheme on layer 228. 2026-07-10 14:04:27 +04:00
John Preston
24c3a4b6c0 Open community chats inline in the dialogs list. 2026-07-10 14:04:26 +04:00
John Preston
31cd148e87 Group community chats into one chat list row. 2026-07-10 14:04:26 +04:00
John Preston
4980f0068a Show becoming community admin box. 2026-07-10 14:04:26 +04:00
John Preston
da3cc6156a Update API scheme to layer 228. 2026-07-10 14:04:26 +04:00
23rd
5d52a283d4 Added experimental option to keep unmuted unread dialogs on top. 2026-06-22 11:51:49 +03:00
John Preston
8b8b3ebc09 Support server-provided limits for rich messages. 2026-06-09 14:28:11 +04:00
John Preston
a9a21140c3 Unify MTP page parsing. 2026-06-09 14:28:10 +04:00
John Preston
d91bdfcd21 Remove unused PhotoData/DocumentData in Iv::Data. 2026-06-09 14:28:09 +04:00
John Preston
5c825f352f Support basic display of IV in messages. 2026-06-09 14:27:37 +04:00
John Preston
2f6c10d260 Simple rich message view in separate window. 2026-06-09 14:27:37 +04:00
John Preston
b1e012c466 Update API scheme to layer 227. 2026-06-09 14:27:37 +04:00
John Preston
5c5bacaf41 Update API scheme to layer 226. Guard-bots. 2026-06-09 14:27:37 +04:00
23rd
e8d0a8da74 Allowed admin log original entries to carry preview photo or document. 2026-06-04 12:45:19 +04:00
23rd
aa0ddf1b37 Added view removal reason to skip animations on rebuilt views. 2026-06-01 18:46:42 +03:00
23rd
b89fd24339 Fixed empty chat list preview after deleting last message.
Regression was introduced in 6c88a90d28.
2026-06-01 14:16:52 +03:00
John Preston
3cb167b7e5 Fix possible crash in livestream story destruction. 2026-05-25 17:56:53 +04:00
23rd
6c88a90d28 [thanos] Broadcast item-about-to-destroy on TTL and clear paths too. 2026-05-22 14:02:40 +03:00
John Preston
f6c5004b1b Fix crash in streaming-bot search. 2026-05-21 22:07:01 +04:00
John Preston
7ba610fd33 Initial attempt to feed IV into the new viewer. 2026-05-19 12:49:08 +04:00
23rd
1167523f4a [thanos] Pre-captured snapshots before batch destruction via event. 2026-05-18 10:36:52 +03:00
23rd
e75dba5c80 [thanos] Added GPU-accelerated particle dissolution effect for messages. 2026-05-18 10:36:52 +03:00
John Preston
4a9f584d48 Store recent inline bot per-account. 2026-05-07 16:53:27 +04:00
John Preston
49db372296 Update cached reactions on remove. 2026-05-05 10:45:45 +04:00
John Preston
497b2a45bc Make nice custom style tone preview and links. 2026-05-05 10:45:44 +04:00
John Preston
d96b73ca00 Update API scheme on layer 225. Show toasts. 2026-05-05 10:45:44 +04:00
John Preston
3cc2192791 Initial cloud tones support. 2026-05-05 10:45:44 +04:00
John Preston
ffe5f1ac00 Support guest chat bot messages. 2026-05-05 10:45:43 +04:00
John Preston
9636dbe71a Update API scheme on layer 225. 2026-05-05 10:45:43 +04:00
John Preston
eac7141ce7 Use photo as video thumbnail in webpage. 2026-04-20 10:54:47 +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