John Preston
730412fefe
Load albums of last chat messages.
2021-10-04 23:47:33 +04:00
John Preston
21ac2b8f3a
Don't use MTP* for reply markup data.
2021-10-04 23:47:30 +04:00
23rd
21f7cec781
Fixed build for macOS.
2021-09-30 21:21:07 +04:00
23rd
21aa1f49d7
Moved views increment scheduler from MainWidget to separate file.
2021-09-30 18:45:38 +03:00
John Preston
1e660fc2a2
Allocate 64 bits for message ids.
2021-09-30 13:49:37 +04:00
John Preston
73c0ea4b7d
Don't mark as read when forwarding to scheduled.
2021-09-17 10:25:36 +03:00
John Preston
8069fdd873
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:42:22 +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
John Preston
23e9e7b9f0
Remove for_const macro.
2021-09-06 13:13:26 +03:00
John Preston
9dfc60026e
Add simple forwarding options on bar click.
2021-08-31 19:47:38 +03:00
John Preston
3cd0f9d189
Start non-unique ChatTheme.
2021-08-30 20:32:57 +03:00
John Preston
c79cd0b692
Use Images::Read instead of App::readImage.
2021-08-11 18:55:08 +03:00
23rd
cbad2469db
Moved MTP cloud password from ApiWrap to Api::CloudPassword.
2021-08-10 15:46:18 +03:00
23rd
0ae260c6e1
Moved MTP blocked peers from ApiWrap to Api::BlockedPeers.
2021-08-10 15:46:18 +03:00
23rd
5bd73bab9b
Moved user privacy from ApiWrap to Api::UserPrivacy.
2021-08-10 15:46:18 +03:00
John Preston
256546071b
Add ability to reset cloud password in 7 days.
2021-07-30 14:32:49 +03:00
John Preston
116a768fde
Don't use MTP* for Message flags.
2021-07-28 15:28:17 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
John Preston
4206ff0483
Don't use MTP* for StickersSet flags.
2021-07-09 09:08:58 +03:00
John Preston
75090dedaa
Don't store MTPInputStickerSet in data.
2021-07-08 22:08:59 +03:00
John Preston
f22e68fc32
Don't use MTP* for PeerSettings flags.
2021-07-08 17:32:39 +03:00
John Preston
2ffda9f240
Don't use MTP* for ChatAdminRight / ChatRestriction.
2021-07-08 13:34:06 +03:00
23rd
7cd6b821b3
Fixed update of recently attached stickers after sending.
2021-07-06 12:13:05 +03:00
23rd
e7104b5ebe
Added support for archived masks.
2021-07-06 12:13:05 +03:00
23rd
2bd3a8aaff
Added ability to delete and reorder mask sets.
...
Moved ApiWrap::stickerSetDisenabled and ApiWrap::stickersSaveOrder
to ApiWrap::saveStickerSets as lambdas.
2021-07-06 12:13:05 +03:00
23rd
1cdb83462e
Added initial implementation of masks panel.
2021-07-06 12:13:05 +03:00
23rd
e05343d721
Added sending info of stickered photos.
2021-07-06 12:13:05 +03:00
23rd
6d08542afa
Moved proxy global variables from facades to core settings.
2021-06-16 09:31:32 +03:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
John Preston
a82d1e863e
Version 2.7.1: Fix channels ban in admin log.
2021-03-20 18:19:31 +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
4ffe1d3acc
Use base::flat_map for pointer keys
2021-03-15 19:49:06 +03:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
Ilya Fedin
f25b2a2094
Apply autofixes from clazy
2021-03-13 15:25:47 +03:00
John Preston
c9934c142d
Fix drafts time tracking.
2021-03-13 16:07:59 +04:00
23rd
d4bb62d055
Slightly refactored uploading of edit media.
2021-03-13 12:59:11 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
5794679277
Don't accept drafts older than last saved.
...
I hope it finally fixes #4922 , partially fixes #10001 .
The rest of #10001 like RAM usage / crashes are unrelated to drafts.
2021-03-12 16:58:26 +04:00
John Preston
267e5fd9e0
Allow getting outer_msg_id in MTProto handlers.
2021-03-12 16:58:26 +04:00
John Preston
8142acc709
Remove legacy #feed code.
2021-02-25 17:03:51 +04:00
John Preston
502a3ca70f
Update API scheme to layer 124.
2021-02-22 23:42:40 +04:00
John Preston
8f0e23bb25
Improve editing messages with link previews.
...
Now preview state can be one of (allowed, cancelled, empty-in-edit).
In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.
That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
John Preston
b2c84d675c
Allow clearing calls log.
2021-01-25 16:50:59 +04:00
John Preston
417428b21d
Allow deleting small groups for everyone.
2021-01-25 16:50:59 +04:00
John Preston
34f7391ec9
Update API scheme.
2021-01-25 16:50:58 +04:00
John Preston
02ad5f2772
Update API scheme and start invite links.
2021-01-25 16:47:40 +04:00
John Preston
b396244606
Update API scheme to layer 123.
2021-01-25 16:47:40 +04:00