Commit Graph

402 Commits

Author SHA1 Message Date
John Preston 034bee8fc3 Optimize Folder::paintUserpic. 2019-06-17 15:30:46 +02:00
23rd ece315f3c5 Added ability to move archive in main menu.
- Added Folder::paintUserpic overload for custom color.
 - Reduced size of _cloudButton.
2019-06-17 15:30:46 +02:00
John Preston 0868a9f7b9 Use Controller::account in MainWindow. 2019-06-06 14:59:00 +03:00
John Preston a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00
John Preston 2f963d7f12 Fix default broadcast notification settings. 2019-06-04 16:40:24 +03:00
John Preston 04e3b250e7 Keep track of fully cached media files. 2019-06-04 14:30:44 +03:00
John Preston 274fed3cb0 Move several fields to bit flags in DocumentData. 2019-06-04 14:30:43 +03:00
John Preston eb438e35ee Remove old download priority arguments. 2019-06-04 14:30:43 +03:00
John Preston b2895a39ed Register streaming loaders in Storage::Downloader. 2019-06-04 14:30:43 +03:00
John Preston cca906d383 Use ready parts from loader in streaming. 2019-06-04 14:30:43 +03:00
John Preston 8704f6efd0 Use simple loader for non-streamable file types. 2019-06-04 14:30:43 +03:00
John Preston e1114530ab Working code for streaming downloader. 2019-06-04 14:30:43 +03:00
John Preston ebf2a678b1 Use a special FileLoader for streamed documents. 2019-06-04 14:30:43 +03:00
John Preston 8c0cd9b9e9 Prepare Media::Streaming::Reader to be shared. 2019-06-04 14:30:43 +03:00
John Preston ea61211a61 Version 1.7.2: Mix peer to grouped_id. 2019-06-01 00:51:57 +03:00
John Preston a968e112e8 Fix crash on invalid lottie file selection. 2019-05-30 18:09:44 +03:00
23rd 62a6812259 Added ability to update pinned dialogs. 2019-05-27 15:34:59 +02:00
23rd 9c60d2be80 Updated for archive support. 2019-05-27 15:34:58 +02:00
23rd 8099305c53 Added buttons of pinned dialogs in main touch bar. 2019-05-27 15:34:56 +02:00
John Preston 50778790fe Start supporting channel discussion groups. 2019-05-27 15:09:25 +02:00
John Preston 6b80ff4bcc Support groups in privacy settings. 2019-05-27 15:09:12 +02:00
John Preston 3577e71782 Validate mime type of animated stickers. 2019-05-27 15:09:07 +02:00
John Preston c4aac5fa0e Update API scheme to layer 100. 2019-05-27 15:09:06 +02:00
John Preston 4ab3c2dfcb Add support for gzip-ed animated stickers. 2019-05-27 14:11:27 +02:00
John Preston 7ee16ba45c Clear hidden animated stickers. 2019-05-27 14:11:26 +02:00
John Preston 61b6effccc View some more files as stickers. 2019-05-27 14:11:26 +02:00
John Preston 707aa88974 Animated stickers proof of concept. 2019-05-27 14:11:26 +02:00
John Preston f073963582 Preview lottie animations in media viewer. 2019-05-27 14:11:26 +02:00
John Preston aec6e17b5d Allow revoking any messages in private chats. 2019-05-08 12:14:42 +03:00
John Preston 64dd5139da Show unread archive chat names in bold. 2019-05-08 12:05:15 +03:00
John Preston e55e46a0f0 Show last chats in archive dialog row. 2019-05-08 11:50:39 +03:00
John Preston 0247e876df Remove locally saved empty histories. 2019-05-03 15:18:18 +04:00
John Preston 4356b1c193 Allow collapsing archive in the chats list. 2019-05-03 15:08:53 +04:00
John Preston 5c3f93eee1 Fix crash in replies.
Regression was introduced in b1df3c0ec4.
2019-05-01 16:11:44 +04:00
John Preston 08bddc5579 Move messages data to AuthSession. 2019-05-01 16:11:42 +04:00
John Preston cb3e649e61 Correctly handle cloud archive unread state. 2019-05-01 16:11:42 +04:00
John Preston 5f62c2100c Count unread marks in non-fully loaded folders. 2019-05-01 16:11:40 +04:00
John Preston 4c571f5bff Fix adding first chat to archive. 2019-05-01 16:11:40 +04:00
John Preston 52b9212625 Display top bar in archive. 2019-05-01 16:11:40 +04:00
John Preston 3dd2a6bb5b Update archive row on chat list name change. 2019-05-01 16:11:39 +04:00
John Preston 9ff02707bf Improve archive chat list entry layout. 2019-05-01 16:11:38 +04:00
John Preston 2d1dcb36cb Use folder_id / still_unread_count from updates. 2019-05-01 16:11:38 +04:00
John Preston 01d5589594 Add archived results in chats search. 2019-05-01 16:11:38 +04:00
John Preston ceec71d3e6 Track real latest message in the folder. 2019-05-01 16:11:37 +04:00
John Preston 8fd811517b Count unread correctly in folders. 2019-05-01 16:11:37 +04:00
John Preston 58519300ea Support pinned chats in folders. 2019-05-01 16:11:37 +04:00
John Preston 518ff146b2 Don't allow reordering of the archive. 2019-05-01 16:11:36 +04:00
John Preston f3ed7a674a Create dialog rows only with known folders. 2019-05-01 16:11:35 +04:00
John Preston 854870683b Add ability to archive/unarchive the chats. 2019-05-01 16:11:35 +04:00
John Preston c58f097535 Correctly move histories between chat lists. 2019-05-01 16:11:35 +04:00