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
23rd
d4bbbdb65c
Replaced rand_value util function with openssl::RandomValue.
2021-01-24 10:41:10 +03:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
John Preston
d16bc36bae
Update API scheme.
2020-12-22 22:39:30 +04:00
John Preston
92bc278052
Allow inviting contacts to voice chats.
2020-12-22 12:33:06 +04:00
John Preston
b6483cb65c
Use shared_ptr<Memento> for sections.
2020-12-14 18:48:10 +04:00
23rd
c8643aa1ee
Wrapped raw SectionMemento with unique_ptr.
2020-12-14 17:09:24 +04:00
John Preston
e523687328
Show bar waves from any member-s level.
2020-12-09 13:08:36 +04:00
John Preston
b1ed15447b
Scroll to bottom when sending a poll.
2020-11-19 17:01:50 +03:00
John Preston
00504b61cd
Allow all messages silent in support mode.
2020-11-19 16:23:57 +03:00
John Preston
b3eb7858e6
Save local drafts in scheduled / replies sections.
...
Fix inline bot switch inline in scheduled / replies sections.
2020-11-17 12:58:07 +03:00
John Preston
74d2313784
Build Linux version with Qt 5.15.1 in CentOS 7 docker.
2020-11-06 11:21:34 +03:00
John Preston
f2867df340
Fix sending of album with videos.
...
Fixes #8960 .
2020-11-02 11:50:14 +03:00
John Preston
cd5cad72bd
Use only shared media code for pinned tracking.
2020-10-30 18:32:20 +03:00
John Preston
a614ccad97
Correctly check media when editing files.
2020-10-30 18:32:19 +03:00
John Preston
012ebdd15e
Fix grouping of music files / just files.
2020-10-30 18:32:19 +03:00
John Preston
bb4fdde616
Fix sending many files with a comment.
2020-10-30 18:32:19 +03:00
John Preston
85d08c8f52
Send files grouped in albums, show captions.
2020-10-30 18:32:19 +03:00
John Preston
0539cc9448
Add a way to recreate SendFilesBox content.
2020-10-30 18:32:19 +03:00
John Preston
8d2fa313b7
Add setting for grouping files.
2020-10-30 18:32:19 +03:00
John Preston
b3b11bd9e7
Move PreparedFile/PreparedList to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
ae298818a8
Implement message bar with animations.
2020-10-30 18:32:17 +03:00
John Preston
cc28ba4284
Update API scheme to layer 120.
2020-10-30 18:32:17 +03:00
23rd
1459e6f38e
Moved request for attached stickers to separate file.
2020-10-30 13:18:40 +03:00
23rd
6ac5f32796
Moved other authorizations api request to separated file.
2020-09-30 18:48:34 +03:00
John Preston
891b4a91a3
Generate correct links to replies section.
2020-09-29 19:03:28 +03:00
John Preston
01ab6e6d4d
Support anonymous group admins.
2020-09-29 19:03:24 +03:00
John Preston
f0e1d2fd02
'base::optional_variant<' -> 'std::variant<v::null_t,'
2020-09-29 19:03:19 +03:00
John Preston
734d834a20
Replace mapbox variant with std::variant.
2020-09-29 19:03:19 +03:00
John Preston
55edb3bdfe
Update API scheme to layer 119. Count replies.
2020-09-29 19:03:18 +03:00
John Preston
49c230b898
Update API scheme to layer 118.
2020-09-29 19:03:18 +03:00
23rd
8a34f29329
Moved toggling of existing media to separate file.
2020-08-19 14:47:25 +03:00
John Preston
4bf6550e24
Update API scheme to layer 117.
2020-08-11 18:21:40 +04:00
John Preston
3aea9cb3ca
Add archive and mute settings editing.
2020-07-25 11:24:37 +04:00
John Preston
1a9c241b96
Update API scheme to layer 116.
2020-07-25 11:24:11 +04:00
John Preston
638d4d63c5
Update API scheme to layer 115.
2020-07-25 11:24:11 +04:00
John Preston
d4feb16378
Don't mark as read when scheduling messages.
2020-07-23 17:46:52 +04:00
23rd
2ebf44c166
Removed unused code from apiwrap.
2020-07-17 18:22:38 +03:00
23rd
c350e33dd8
Moved preparing MTPInputMedia to separate file.
2020-07-17 18:22:37 +03:00
John Preston
900f7e1304
Try recursive lambda without make_shared.
2020-07-14 19:02:45 +04:00