Commit Graph

111 Commits

Author SHA1 Message Date
23rd c40ca70aa6 Added date of admin promotional to EditAdminBox. 2024-09-09 17:20:52 +03:00
23rd edf1417bbb Added date of restriction to EditRestrictedBox. 2024-09-09 17:20:52 +03:00
23rd 975460d268 Added api support for dates of chat participant data. 2024-09-09 17:20:52 +03:00
23rd 629da68cfc Added api support to moderation box. 2024-04-26 20:12:29 +04:00
John Preston c0117e72ad Support complex invite-users responses. 2024-04-01 22:44:26 +04:00
John Preston 87acc921c3 Pass Ui::Show to all add participant handlers. 2024-04-01 22:44:26 +04:00
John Preston fcc9e0b2db Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
23rd 497aa6dbc8 Added ability to see admins who promoted or restricted participants. 2023-11-14 21:48:34 +03:00
23rd 282c076931 Removed redundant peerListShowBox / peerListHideLayer from delegates. 2023-11-09 16:02:18 +03:00
John Preston cc27b6c5c5 Update icons in settings / manage layers. 2023-08-14 22:30:40 +02:00
John Preston d52475666d Suggest group-with-hidden-members admins in mentions. 2023-08-14 22:30:39 +02:00
John Preston fd3169f82d Fix admins list restore in group profile. 2023-07-21 19:17:14 +04:00
John Preston 93457c8ea3 Fix possible crash in legacy group participants. 2023-07-20 18:44:40 +04:00
John Preston f31b40f6ce Add stories outline to group participants list. 2023-07-20 07:20:57 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston ce40ecc7f9 Show admins in participants_hidden group info. 2022-12-26 14:24:08 +04:00
John Preston d6c188d642 Respect hidden_members_group_size_min in group edit. 2022-12-26 14:24:08 +04:00
John Preston af350e2daa Allow hiding members list in groups. 2022-12-26 14:24:06 +04:00
John Preston 74ecd44294 Show anti-spam checkbox only to admins. 2022-12-06 22:50:54 +04:00
23rd 4bd2091e6e Added initial ability to enable anti-spam mode in megagroups. 2022-12-01 05:49:33 +03:00
23rd 2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston bd089f20a8 Emoji status selector in MainMenu/Settings. 2022-09-02 21:14:28 +04:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston fc8ea688a3 Update profile badges order. 2022-06-23 17:53:36 +04:00
John Preston 916f86b401 Don't show premium star when premium unavailable. 2022-06-08 16:53:16 +04:00
John Preston 490f6f7e50 Display premium / fake / scam badge in group members. 2022-05-24 11:25:49 +04:00
23rd d7bf9e285c Replaced kick button with admin rank in list of members. 2022-04-01 15:53:57 +04:00
23rd 093d2ae99b Removed Ui::show from ParticipantsBoxController. 2022-03-04 11:25:10 +03:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston 2c36623cfb Add some icons to popup menus. 2021-12-29 21:22:33 +03:00
John Preston ebd9587821 Fix admin ranks in participants edit. 2021-12-03 15:02:45 +04:00
23rd 69dc6c98ce Removed unused MTPBool from callbacks on done. 2021-11-30 17:37:39 +04:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston 453ce1bff9 Beta version 3.2.6: Fix build on Linux. 2021-11-29 09:49:40 +04:00
John Preston eb6afdf438 Fix build on Windows. 2021-11-26 18:00:22 +04:00
23rd f255573070 Replaced use of raw MTP* participant type with new transitional class. 2021-11-26 18:00:22 +04:00
23rd 503814ad4e Slightly refactored Api::ChatParticipants. 2021-11-26 18:00:22 +04:00
23rd b9c64499bd Moved code for api participants to separated file. 2021-11-26 18:00:21 +04:00
23rd 3271cdf251 Removed duplicated MTP* rights generation. 2021-11-26 18:00:21 +04:00
John Preston 94dc595a81 Show full profile from group members list. 2021-10-29 18:31:07 +04:00
John Preston 24e0ea2a59 Show profile video in PeerShortInfoBox. 2021-10-29 18:31:07 +04:00
John Preston ab58aa020e Allow many custom elements in PeerListRow. 2021-10-29 18:31:06 +04:00
John Preston 7f428f2eeb Show full requests list in a box. 2021-10-29 18:31:06 +04:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
23rd 3fa529d858 Extracted MaxInviteBox to separated file. 2021-10-19 06:34:27 +03:00
23rd 900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston a74228acea Don't use MTP* for ChannelData flags. 2021-07-08 16:11:09 +03:00