Commit Graph

780 Commits

Author SHA1 Message Date
John Preston
5e82860376 Allow sending quick replies like bot commands. 2024-03-08 10:53:59 +04:00
John Preston
ee847bc1a3 Fix legacy group pins loading on first group open.
Fixes #27466.
2024-03-08 10:53:59 +04:00
John Preston
7f3ebde252 Implement sending of shortcutted messages. 2024-03-08 10:53:59 +04:00
John Preston
d05c4e0990 Start shortcut messages sending. 2024-03-08 10:53:59 +04:00
John Preston
e05eb63476 Update API scheme on layer 176. 2024-03-08 10:53:58 +04:00
John Preston
1fe641c458 Update API scheme to layer 176. 2024-03-08 10:53:58 +04:00
John Preston
608b4f30c5 Show thumbnail of selected group emoji pack. 2024-02-18 17:54:09 +04:00
John Preston
08efa73b2b Allow editing group wallpaper / status / emoji set. 2024-02-15 13:51:40 +04:00
John Preston
6e31993777 Update API scheme on layer 172. 2024-01-17 09:39:05 +04:00
John Preston
ca25ad57b1 Update API scheme to layer 172. 2024-01-17 09:39:04 +04:00
John Preston
9392550c01 Support pinned saved sublists. 2023-12-31 19:42:24 +04:00
John Preston
18c4d210e5 Show saved messages sublists in profile. 2023-12-31 19:42:23 +04:00
John Preston
e135f8954f Update API scheme to layer 168. Giveaways. 2023-12-16 20:25:02 +00:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
John Preston
b5b5c28ac5 Request possible peer colors from API. 2023-11-28 21:55:25 +04:00
John Preston
4dbe5c0a0f Load similar channels correctly. 2023-11-28 21:55:25 +04:00
23rd
0865776d9a Simplified FileOriginStory. 2023-11-28 21:55:24 +04:00
John Preston
d4d2eef291 Fix clearing cloud draft on message send.
Regression was introduced in 20ba417ddd.
2023-11-13 10:44:38 +04:00
John Preston
9324ceeb24 Destory stats sessions after a timeout. 2023-11-13 10:08:47 +04:00
John Preston
20ba417ddd Fix sending messages from "View as Messages". 2023-11-06 12:06:21 +04:00
John Preston
bf20dbe3bc Fix external replies to different topic groups. 2023-10-31 13:13:31 +04:00
John Preston
b793c06759 Fix external replies in topic groups. 2023-10-31 10:39:54 +04:00
John Preston
ec3fc8c749 Send entities with customized webpage preview.
Fixes #26981.
2023-10-29 08:55:30 +04:00
John Preston
3b91e2dee4 Improve editing messages with webpage previews. 2023-10-26 14:08:44 +04:00
John Preston
c035ec6917 Allow sending just webpage preview. 2023-10-26 14:08:44 +04:00
John Preston
20c63b98c7 Fix build with Xcode. 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
b1823d981b Update API scheme, rich preview drafts. 2023-10-26 14:08:42 +04:00
John Preston
f90a010b84 Update API scheme on layer 166. 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
874c84ad4e Fix file reference refresh in story forward. 2023-09-28 23:51:29 +04:00
John Preston
846e96579d Fix direct story links for channels. 2023-09-25 17:53:02 +04:00
John Preston
d5b429e910 Update API scheme to layer 164. 2023-09-22 09:43:31 +04:00
John Preston
8adbbe6885 Don't expect itemId from shareContact. 2023-09-05 19:30:29 +04:00
John Preston
d77c7a70ab Implement new bot web-app methods. 2023-09-04 17:36:55 +04:00
John Preston
b80f5f9706 Manage notifications exceptions in Settings. 2023-08-23 18:09:32 +02:00
John Preston
92fec8304e Implement connected websites section. 2023-08-18 17:03:50 +02:00
John Preston
bda3bae712 Always use crl::time for media durations. 2023-08-04 08:46:46 +02:00
John Preston
a57e9990b0 Update API scheme on layer 160. 2023-07-20 07:20:13 +04:00
John Preston
1b581a1597 Support story link previews. 2023-07-20 07:20:12 +04:00
John Preston
80bec508b6 Support new stories link t.me/username/s/123. 2023-07-20 07:20:12 +04:00
John Preston
a933168ef7 Allow sharing stories and copying a link. 2023-07-20 07:20:11 +04:00
John Preston
bafb4f91b4 Update API scheme on layer 160. 2023-07-20 07:20:11 +04:00
John Preston
b195ec4fd5 Support stories file reference refreshing. 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
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston
312aa4b130 Update API scheme on layer 158. 2023-04-11 19:17:38 +04:00
John Preston
8a9d13c6e4 Initial add filter / chats / edit filter link. 2023-04-11 19:17:37 +04:00
John Preston
f3e15c7fcd Suggest inviting by link if privacy disallows adding. 2023-03-12 07:25:39 +04:00
John Preston
405230c0c6 Don't request settings of unknown peers. 2023-02-06 12:24:08 +04:00
John Preston
4234f0b797 Check if bot is in group or if can be added. 2023-02-02 22:12:33 +04:00
John Preston
c48ac28204 Search stickers by emoji. 2023-02-02 22:12:31 +04:00
John Preston
554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston
7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
John Preston
a7c4aea9ff Revert "Clear draft that failed to be saved."
This reverts commit 7866013ab6.

Loosing the current field text in case the server doesn't accept
the draft is worse than showing some sticked draft in the list.

We always can just hide the cloud draft in chats list in case you
can't edit it really if there are reports about them.
2023-01-02 10:50:59 +04:00
John Preston
7f969e5102 Fix forwarding to General topic. 2022-12-27 11:49:03 +04:00
John Preston
627eba1c5a Update API scheme on layer 151. 2022-12-26 14:24:08 +04:00
John Preston
076f0e0800 Fix General topic message links. 2022-12-26 14:24:07 +04:00
John Preston
1dd83f3d34 Support personal photo edit in EditContactBox. 2022-12-26 14:24:06 +04:00
John Preston
5bee6310c0 Allow sending media with spoilers. 2022-12-26 14:24:05 +04:00
John Preston
1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
23rd
66926ba25e Fixed scrolling to end when media is replaced. 2022-12-09 11:54:37 +03:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston
01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston
01748d8aba Better General topic support. 2022-11-29 18:30:38 +04:00
John Preston
7866013ab6 Clear draft that failed to be saved. 2022-11-29 18:30:38 +04:00
John Preston
57af221d39 Support General topic somehow. 2022-11-29 18:30:38 +04:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
23rd
3467fe226f Added ability to send webp as compressed image. 2022-11-22 00:26:49 +00:00
John Preston
37308cde21 Support dialog rows with variable height. 2022-11-22 00:26:48 +00:00
John Preston
8a288476b8 Implement pinned topics reordering. 2022-11-22 00:26:48 +00:00
John Preston
c7741cb62a Apply short topic info from channelMessages. 2022-11-22 00:26:48 +00:00
John Preston
9e7a4e59a8 Version 4.3: Fix build with Xcode. 2022-11-05 19:11:38 +04:00
John Preston
d58f312342 Generate old topic message links for now. 2022-11-05 17:49:01 +04:00
John Preston
fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +04:00
John Preston
d5ea0149e8 Implement drag-n-drop to forum topics. 2022-11-01 19:25:44 +04:00
John Preston
1ac051a812 Implement forwarding to topics. 2022-11-01 19:25:44 +04:00
John Preston
18bf5c0ee2 Handle nice topic / post-in-topic links. 2022-11-01 19:25:43 +04:00
John Preston
8dc27339b4 Support pinned messages bar in topics. 2022-11-01 19:25:43 +04:00
John Preston
5d76415a5d Implement jump-to-date in topics. 2022-11-01 19:25:43 +04:00
John Preston
c8ed8e0e5f Support nice empty topic view. 2022-11-01 19:25:42 +04:00
John Preston
06d1644baa Mark topics as read on reply from notification. 2022-11-01 19:25:42 +04:00
John Preston
602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04:00
John Preston
ed895ace66 Track dialog row offline status by timer.
Fixes #6410.
2022-11-01 19:25:41 +04:00
John Preston
7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
John Preston
306179ca7c Update API scheme on layer 148. 2022-11-01 19:25:40 +04:00
John Preston
df5602d203 Support topic icon display in topic profile. 2022-11-01 19:25:40 +04:00
23rd
51cead1445 Added initial implementation of api for usernames. 2022-11-01 19:25:38 +04:00
23rd
5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
23rd
9b7329b378 Removed username from public data members of ChannelData. 2022-11-01 19:25:38 +04:00
John Preston
89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston
ead427793b Handle forum / topic links. 2022-11-01 19:25:38 +04:00
John Preston
d92580b8fc Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston
92a4b27e65 Support per-topic notification settings. 2022-11-01 19:25:37 +04:00
John Preston
58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston
3722e55b67 Support topic on-the-fly creation. 2022-11-01 19:25:35 +04:00
John Preston
d15173e09d Update API scheme on layer 148. 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
2c0a38d356 Don't unload emoji sets.
Fixes #24933.
2022-08-15 15:52:27 +03:00