Commit Graph

91 Commits

Author SHA1 Message Date
John Preston 4356b1c193 Allow collapsing archive in the chats list. 2019-05-03 15:08:53 +04:00
John Preston 5f1cb9d31c Put archive action on top of the menu. 2019-05-01 17:10:11 +04:00
John Preston edf4180d11 Don't suggest to archive Saved Messages. 2019-05-01 16:11:47 +04:00
John Preston 7669b8e12b Don't suggest to archive proxy sponsor. 2019-05-01 16:11:45 +04:00
John Preston accb20a571 Improve archived toast notification. 2019-05-01 16:11:41 +04:00
John Preston 08101ba666 Forbid to archive Telegram Notifications. 2019-05-01 16:11:41 +04:00
John Preston 48ad171a29 Clear chats list context menu a bit. 2019-05-01 16:11:41 +04:00
John Preston 6dd8f32f66 Fix build on Xcode. 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 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 854870683b Add ability to archive/unarchive the chats. 2019-05-01 16:11:35 +04:00
John Preston 9bf8a8108d Comment out non-folder feed code. 2019-04-25 14:16:30 +04:00
John Preston eb1825defd Add revoking of full history. 2019-03-24 12:12:44 +04:00
John Preston dd8c526fb7 Prepare code for revoking of full history. 2019-03-24 12:12:43 +04:00
23rd 8887272577 Refactored code. Removed unused code.
- Deleted manage_peer_box from sources.
2019-03-22 13:40:22 +04:00
23rd ae25538706 Added opening of EditPeerInfoBox in new way. 2019-03-22 13:40:22 +04:00
23rd 0f3ec47074 Begin of EditPeerBox redesigning.
- Moved buttons from ManageGroupBox to EditPeerBox.
 - Added counting of permissions.
2019-03-22 13:40:21 +04:00
23rd 2aecd1035e Removed "Export history" from context menu for empty chats. 2019-03-22 13:38:09 +04:00
John Preston 13a9b967e9 Use user phrases for support accounts. 2019-03-12 14:38:59 +04:00
23rd 193e454fd4 Fixed sending polls as reply to other messages.
Fixes #5550.
2019-02-17 15:55:44 +04:00
John Preston 4111da1dd0 Move some calls from App namespace. 2019-01-22 17:10:01 +04:00
John Preston 3c44bdb6b7 Support auto-migrate to supergroups. 2019-01-17 12:21:30 +04:00
John Preston dba9ca2084 Replace TLHelp helpers with .match() 2019-01-17 12:21:30 +04:00
John Preston a605c110a8 Support legacy groups in participant boxes. 2019-01-17 12:21:29 +04:00
John Preston 18c6be0d3b Unify legacy and megagroups information edit. 2019-01-17 12:21:29 +04:00
John Preston f4d52b82b4 Allow reusing permissions edit controls. 2019-01-17 12:21:29 +04:00
John Preston c5a41e1f55 Divide data/data_peer and remove from PCH. 2019-01-17 12:21:29 +04:00
John Preston d2d6b319b6 Update API scheme to layer 93. Broken. 2019-01-17 12:21:28 +04:00
John Preston e397f72eb2 Lock poll creating.
Fixes #5504.
2018-12-23 20:47:00 +04:00
John Preston 4e692e2c1e Version 1.5.3: Fix build for GCC. 2018-12-23 01:31:12 +04:00
John Preston b6f7832745 Add create poll box from groups three-dot menu. 2018-12-22 10:29:03 +04:00
John Preston 61add763ae Restart instead of Unblock for bots. 2018-12-04 15:46:07 +04:00
John Preston 9f5b09c263 Add emoji autocomplete to all fields. 2018-11-21 14:09:46 +04:00
John Preston 9a8ab84ecb Add edit / view of user information for support. 2018-11-20 19:50:36 +04:00
John Preston 78da810114 Extend pinned messages support.
Support them in saved messages and normal groups.
2018-11-16 20:17:58 +04:00
John Preston 0c8709ca5f Replace App::self() with Auth().user().
Always have self Auth().user() when AuthSession exists.
2018-09-19 19:22:13 +03:00
John Preston a99ae76ad4 Allow single chat history export. 2018-07-31 22:56:03 +03:00
John Preston 35c759c6bc Mark [un]read from chats list. 2018-06-27 22:58:32 +01:00
John Preston dd81f5d59f Replace base::lambda with shorter term.
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston 734c410879 New notifications API, defaults for users/chats. 2018-05-30 18:44:46 +03:00
John Preston d3f85b4c4e Display channels promoted by proxy on top. 2018-05-13 21:26:35 +03:00
John Preston ee182ea684 API scheme downgraded to layer 76. 2018-03-06 20:48:24 +03:00
John Preston 1ae22c8606 Fix assertion violation when no feed. 2018-02-21 16:38:56 +03:00
John Preston 17a4d19beb Add a create feed channels list box. 2018-02-20 19:56:41 +03:00
John Preston 74aa1ad71e Ungroup all feed channels from context menu. 2018-02-18 17:00:14 +03:00
John Preston 07528be1e6 Support search in feed + scroll to search result. 2018-02-16 19:45:58 +03:00
John Preston cfd5c2a650 Add feed notifications edit box. 2018-02-13 19:11:00 +03:00
John Preston fe262701c0 Add notification toggle in feed channels. 2018-02-12 18:52:55 +03:00