Commit Graph

71 Commits

Author SHA1 Message Date
John Preston
dcc326e17f Update API scheme to layer 167.
Support quote offset passing to API.
Support simple phrases in giveaway results message.
2023-11-28 21:55:23 +04:00
John Preston
5350c97f82 Fix sending replies in forums. 2023-11-06 12:31:59 +04:00
John Preston
d831775e2f Fix replying in the same history. 2023-10-31 11:19:57 +04:00
John Preston
b793c06759 Fix external replies in topic groups. 2023-10-31 10:39:54 +04:00
John Preston
c035ec6917 Allow sending just webpage preview. 2023-10-26 14:08:44 +04:00
John Preston
2d3e2b1ef8 Fix drafts in topics. 2023-10-26 14:08:43 +04:00
John Preston
8b42161898 Allow sending custom webpage previews. 2023-10-26 14:08:43 +04:00
John Preston
ef0539c9fc Allow replying with quoting message part. 2023-10-26 14:08:41 +04:00
John Preston
4240568ea5 Pass FullReplyTo everywhere. 2023-10-26 14:08:40 +04:00
John Preston
926aae6847 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston
b8cf00a0b2 Fix replying to stories with voice messages. 2023-07-20 07:20:09 +04:00
John Preston
04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston
fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +04:00
John Preston
7384cd3463 Support sharing games by link to topics. 2022-11-01 19:25:44 +04:00
John Preston
ce17904dcc Improve topic creation, fix glitches. 2022-11-01 19:25:41 +04:00
John Preston
89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston
032e6c57e9 Request full album for last topic message. 2022-11-01 19:25:36 +04:00
John Preston
ae3496d6a4 Update API scheme on layer 148: Topic icons. 2022-11-01 19:25:36 +04:00
John Preston
3722e55b67 Support topic on-the-fly creation. 2022-11-01 19:25:35 +04:00
John Preston
9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
John Preston
ff51bf81f3 Allow clearing history in megagroups. 2022-06-20 11:30:43 +04:00
John Preston
df15ff9f8e Update API scheme on layer 140. 2022-03-30 12:23:05 +04:00
John Preston
5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00: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
80fcffcc40 Delete history for specific days in private chats. 2021-11-26 18:00:19 +04:00
John Preston
c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
John Preston
97ae094c3c Update API scheme with new cloud themes. 2021-10-29 18:31:07 +04:00
23rd
80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
John Preston
730412fefe Load albums of last chat messages. 2021-10-04 23:47:33 +04:00
John Preston
1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04: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
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
0a678ae8bd No 'Clear History' for everyone in groups. 2021-02-22 23:42:42 +04:00
John Preston
4896509ddf Allow clear history for everyone in small supergroups. 2021-02-22 23:42:42 +04:00
John Preston
73ae29ae25 Update API scheme. 2021-02-22 23:42:41 +04:00
John Preston
417428b21d Allow deleting small groups for everyone. 2021-01-25 16:50:59 +04:00
John Preston
1774b21e88 Add ability to completely delete legacy group. 2021-01-25 16:50:58 +04:00
John Preston
4c1213ce9e Allow blocking users from Replies chat. 2020-09-29 19:03:26 +03:00
John Preston
00cdae0369 Implement replies list request. 2020-09-29 19:03:18 +03:00
23rd
e318a7d65f Simplified ranges::find_if with ranges::any_of and ranges::none_of. 2020-06-23 21:53:43 +04:00
John Preston
997913be25 One Window::Notifications system for all sessions. 2020-06-23 21:53:42 +04:00
John Preston
c478d96385 Add debug logs for chats reading requests. 2020-05-12 16:18:19 +04:00
John Preston
c3463dec63 Force zero unread count if read till end. 2020-02-24 14:54:00 +04:00
John Preston
f2ef109940 Make sure we request pending dialog entries. 2020-02-24 14:54:00 +04:00
John Preston
91a6632a1b Fix state assertion in reading requets. 2020-02-24 12:57:24 +04:00
John Preston
b84b1e71f7 Beta version 1.9.16: Crash fix. 2020-02-23 15:13:23 +04:00