23rd
5718789d53
Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox.
2022-02-28 09:08:01 +03:00
23rd
b9c64499bd
Moved code for api participants to separated file.
2021-11-26 18:00:21 +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
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
23e9e7b9f0
Remove for_const macro.
2021-09-06 13:13:26 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
John Preston
2ffda9f240
Don't use MTP* for ChatAdminRight / ChatRestriction.
2021-07-08 13:34:06 +03:00
23rd
beaa4190eb
Removed Q_OBJECT from GroupMembersWidget.
...
Removed unused onlineCountUpdated since d93c1ccbaa
.
2021-06-17 10:57:46 +04:00
John Preston
3bd6b2268f
Allow blocking channels in voice chats.
2021-03-20 15:43:35 +04:00
Ilya Fedin
4ffe1d3acc
Use base::flat_map for pointer keys
2021-03-15 19:49:06 +03:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04: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
4b354b0928
Use Main::Session in download/upload.
2020-06-23 21:53:38 +04:00
John Preston
f066e0f05a
Use Data::CloudImage for userpics.
2020-06-01 18:09:33 +04:00
John Preston
8cdf8d5edc
Fix legacy group admin status in members dropdown.
...
Fixes #6347 .
2020-03-27 20:36:05 +04:00
John Preston
1492571232
Fix members dropdown and mention autocomplete.
...
Fixes #7345 .
2020-03-13 23:14:23 +04:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
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
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
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
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
59ecf375b0
Move tg:// handlers to a separate module.
...
Also move joinGroupByHash and stickerSetBox from MainWidget.
2018-11-26 17:31:13 +04:00
John Preston
8a3615281c
Support structured bindings in base::flat_map.
2018-11-20 19:38:40 +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
be043a4437
Remove BypassWindowManagerHint in MediaView / Passport.
...
It makes all kinds of usages buggy, including choose file dialog.
Fixes #4936 .
I hope fixes #4950 , I hope fixes #4955 , I hope fixes #3553 .
2018-07-31 22:55:30 +03:00
John Preston
ae18ece549
Ask export path with other export options.
2018-06-23 00:56:53 +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
38daffdbfe
Handle the ADMINS_TOO_MUCH error for channels.
2018-05-18 17:16:14 +03:00
John Preston
87d6081408
Version 1.2.16: Fix build in Xcode 9.3.
2018-04-07 12:47:08 +04:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
21f4bbbe7b
Update kicked count in Channel Info box.
2017-12-26 19:20:08 +03:00
John Preston
712b3f481c
Move online phrase code from app module.
...
Also fix possible assertion violation in online change timeout.
2017-12-17 12:13:26 +04:00
John Preston
85b3d3f64d
Display admin badges in supergroups.
...
Also prefer std containers to Qt and OrderedSet in data_peer.
2017-12-01 22:38:44 +04:00
John Preston
196ff7f4c1
Don't apply count from getParticipants(Recent).
2017-11-28 22:30:01 +04:00
John Preston
292e57ffc7
Use PeerListBox content in info profile.
2017-11-16 07:59:04 +04:00
John Preston
f2a5862714
Add members list to info profile.
2017-11-16 07:59:04 +04:00
John Preston
5e77fe8412
Don't display admin stars if admins are disabled.
2017-09-04 15:21:54 +03:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00