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
John Preston
3b4563772e
Disable edit self restrictions in UI.
2019-08-31 14:25:02 +03:00
John Preston
bacaf805b5
Pass SessionNavigation to some boxes.
2019-07-25 20:55:11 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
6fe36e6534
Improve custom rank input UI.
2019-07-24 08:02:20 +02:00
John Preston
f36e2981ca
Display custom admin ranks in messages.
2019-07-24 08:02:20 +02:00
John Preston
4544a2e331
Update API scheme to layer 104.
2019-07-24 08:02:20 +02:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
d1d98c3bb1
Use tr:: instead of langFactory in box titles.
2019-06-21 11:06:50 +02:00
John Preston
d23fd3559a
Refresh participants after transfer.
2019-06-21 11:06:47 +02:00
John Preston
3c11eda611
Allow transfer of legacy groups.
2019-06-21 11:06:47 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
126ffc8769
Show user profile from Removed Users.
2019-06-05 21:30:34 +03:00
John Preston
c2b2236e64
Show error-by-privacy in adding user as admin.
2019-06-05 19:47:08 +03:00
John Preston
4293a4857f
Show user profile from channel Removed Users.
...
Fixes #5974 .
2019-05-08 12:25:16 +03:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
55d3d8adc3
Allow to delete users from exceptions.
2019-01-31 20:31:44 +03:00
John Preston
25b5027dc7
Only creator can restrict in old groups.
2019-01-31 15:20:15 +03:00
John Preston
7df5df6351
Improve phrases for removed users.
2019-01-21 10:26:19 +04:00
John Preston
04350af96f
Use one place for saving restrictions.
2019-01-17 12:21:31 +04:00
John Preston
c552db04d7
Use 'exception' and 'remove user' phrases.
2019-01-17 12:21:30 +04:00
John Preston
4f33be20d4
Add user to group on appointing of admin.
2019-01-17 12:21:30 +04:00
John Preston
9728ddeaf9
Handle migration to supergroups in boxes.
2019-01-17 12:21:30 +04:00
John Preston
3c44bdb6b7
Support auto-migrate to supergroups.
2019-01-17 12:21:30 +04:00
John Preston
67d12fa6d2
Improve update handling for legacy chats.
2019-01-17 12:21:30 +04:00
John Preston
07e010dfb5
Save admins in legacy groups.
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
9a60e744d3
Unify permissions checks in participants boxes.
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