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
John Preston
2ffda9f240
Don't use MTP* for ChatAdminRight / ChatRestriction.
2021-07-08 13:34:06 +03:00
John Preston
42d40a6f8f
Remove 'Restrict user' button in gigagroups.
2021-04-19 11:26:04 +04:00
John Preston
0a0803de6f
Fix couple of crashes.
2021-04-13 19:46:42 +04:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
John Preston
3bd6b2268f
Allow blocking channels in voice chats.
2021-03-20 15:43:35 +04:00
John Preston
a0a13c3b86
Update API scheme to layer 126.
2021-03-20 15:43:35 +04:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
3cd05a34d9
In legacy groups admins can't remove admins.
2021-02-17 10:46:36 +04:00
John Preston
223681d2da
Fix default chat rights for creator.
2021-02-17 10:46:36 +04:00
John Preston
34f7391ec9
Update API scheme.
2021-01-25 16:50:58 +04:00
John Preston
818624e051
Don't allow kicking yourself from legacy group.
2020-12-30 16:14:13 +04:00
John Preston
2af63ec48f
Correctly show legacy groups with no admins.
2020-12-30 13:28:35 +04:00
John Preston
b68d5f854d
Fix infinite 'Loading...' when no members in the group.
2020-12-16 12:20:46 +04:00
John Preston
3a5b625d64
Allow inviting members to the group call.
2020-12-01 09:45:23 +03:00
John Preston
cc28ba4284
Update API scheme to layer 120.
2020-10-30 18:32:17 +03:00
John Preston
01ab6e6d4d
Support anonymous group admins.
2020-09-29 19:03:24 +03:00
John Preston
55edb3bdfe
Update API scheme to layer 119. Count replies.
2020-09-29 19:03:18 +03:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
63c6a1db82
Allow removing users invited by me.
2020-06-03 12:57:36 +04:00
RadRussianRus
cad4d19272
Use "subscribers" instead of "members" in channels
2020-05-01 15:48:07 +04:00
RadRussianRus
ca49e74b6f
Show bot privacy status
2020-05-01 12:10:32 +04:00
John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +03:00
Nicholas Guriev
793862bee6
Fix -Wredundant-move and -Wdeprecated-copy warnings ( #6663 )
...
* Do not move result at end of function
This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization.
2019-11-12 18:15:34 +03:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00