Commit Graph

50 Commits

Author SHA1 Message Date
John Preston 7828a92f08 Implement views/reactions polling in channels. 2023-09-22 09:43:32 +04:00
John Preston 29c5f6b706 Support channel stories archive. 2023-09-22 09:43:31 +04:00
John Preston d5b429e910 Update API scheme to layer 164. 2023-09-22 09:43:31 +04:00
John Preston 13f67d68c4 Implement custom reactions in stories. 2023-08-14 22:30:38 +02:00
John Preston 318d75cc63 Update API scheme on layer 161. 2023-08-14 22:30:38 +02:00
John Preston c12297d8cb Implement stealth mode in stories. 2023-08-14 22:30:37 +02:00
John Preston 30334b6c74 Attempt to fix crash in story preloading. 2023-07-25 20:50:21 +04:00
John Preston 863313531d Fix crash in viewed shared story deletion. 2023-07-21 13:44:43 +04:00
John Preston 4402cce928 Allow archive with stories only. 2023-07-20 07:20:57 +04:00
John Preston 04f1a7be02 Preload not_hidden -> hidden -> archive. 2023-07-20 07:20:57 +04:00
John Preston 10f65c63e7 Allow opening unknown stories from chats list. 2023-07-20 07:20:56 +04:00
John Preston 6a11888852 Poll views for my story that is viewed. 2023-07-20 07:20:33 +04:00
John Preston 5ccb97668c Add short-polling of stories. 2023-07-20 07:20:33 +04:00
John Preston a0ffa15885 Update story mention layout, add outline.
Also use uint32 for bool-bitfields, otherwise:

int a : 1 = 0;
...
const auto test = true;
const auto b = test ? 1 : 0;
if (a != b) {
    a = b;
    ...
}
Assert(a == b); // Violation, because a == -1, not 1 (after a = b).
2023-07-20 07:20:33 +04:00
John Preston d7d8847c1d Show stories in chats list userpics. 2023-07-20 07:20:33 +04:00
John Preston 451c4e3101 Implement vertical list of hidden story sources. 2023-07-20 07:20:33 +04:00
John Preston af0e578da5 Save to Profile / Archive stories from the viewer. 2023-07-20 07:20:32 +04:00
John Preston 6c960243a9 Improve story source context menus. 2023-07-20 07:20:32 +04:00
John Preston 010c666d23 Preload next stories inside the media viewer. 2023-07-20 07:20:14 +04:00
John Preston d567282430 Preload stories in the sources lists. 2023-07-20 07:20:14 +04:00
John Preston 1b581a1597 Support story link previews. 2023-07-20 07:20:12 +04:00
John Preston e21c06f67c Support deleting and reporting stories. 2023-07-20 07:20:12 +04:00
John Preston 8d2fd4bd69 Show only hidden stories in Contacts. 2023-07-20 07:20:12 +04:00
John Preston a2bf0fc511 Show unsupported stories with an Update button. 2023-07-20 07:20:11 +04:00
John Preston ad5b96b049 Show toasts on reply / archive / unarchive. 2023-07-20 07:20:11 +04:00
John Preston a933168ef7 Allow sharing stories and copying a link. 2023-07-20 07:20:11 +04:00
John Preston 0401364d71 Fix build with Xcode. 2023-07-20 07:20:11 +04:00
John Preston af5228771c Send views for expired pinned stories. 2023-07-20 07:20:11 +04:00
John Preston 5e5b252f2f Support correct saved stories / archive loading. 2023-07-20 07:20:10 +04:00
John Preston 7f8a985067 Start stories overview in profile / My Stories. 2023-07-20 07:20:10 +04:00
John Preston 8eac04cb90 Track and load ids of expired mine stories. 2023-07-20 07:20:10 +04:00
John Preston b71d72ca7c Allow showing stories in different contexts. 2023-07-20 07:20:10 +04:00
John Preston e7c0385aea Show hidden stories above contacts list. 2023-07-20 07:20:10 +04:00
John Preston f40391b4f0 Support two lists of stories sources. 2023-07-20 07:20:10 +04:00
John Preston d0e1ac1238 Start hiding stories from chats list. 2023-07-20 07:20:10 +04:00
John Preston 17a5c27658 Update API scheme on layer 160.
Leave plain scheme in api.tl.
2023-07-20 07:20:10 +04:00
John Preston d28bd36d22 Load and show list of users who viewed a story. 2023-07-20 07:20:10 +04:00
John Preston d76c80bf0e Show recent viewers in self stories. 2023-07-20 07:20:10 +04:00
John Preston 8b22f9dcac Better track paused story state. 2023-07-20 07:20:09 +04:00
John Preston f814e401b9 Mark stories as read. 2023-07-20 07:20:09 +04:00
John Preston f323370752 Preload stories in both directions. 2023-07-20 07:20:09 +04:00
John Preston 0edbb91b72 Process media edition updates from API. 2023-07-20 07:20:09 +04:00
John Preston 9f548b523e Apply updates correctly. 2023-07-20 07:20:09 +04:00
John Preston 2e6790c45c Support replies to stories layout in messages. 2023-07-20 07:20:09 +04:00
John Preston 7a042c23e9 Use real stories data, open from chats list. 2023-07-20 07:20:09 +04:00
John Preston 04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
John Preston 1d27c8c940 Paint nice stories userpics in chats list. 2023-07-20 07:20:08 +04:00
John Preston ae94cd2d42 Allow navigating to stories of sibling users. 2023-07-20 07:20:08 +04:00
John Preston 7717de19ab Implement stories switching, photo "animation". 2023-07-20 07:20:08 +04:00
John Preston 89ca38ed29 Start stories viewer with ComposeControls. 2023-07-20 07:20:07 +04:00