Commit graph

105 commits

Author SHA1 Message Date
John Preston
4fae827f1e Use a separate string for voice chat ending in groups. 2021-05-03 13:23:28 +04:00
John Preston
ae74c8a6b8 Show voice chat start time in service message. 2021-04-12 10:48:16 +04:00
John Preston
1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston
d7e90fec1a Add a nice countdown to scheduled voice chat panel. 2021-04-06 18:41:16 +04:00
John Preston
ee098d00ad Add better error reporting to payments. 2021-04-06 18:41:16 +04:00
John Preston
7cbe158d00 Update API scheme. 2021-04-06 18:41:16 +04:00
John Preston
e6ba6050e7 Update button on paid invoices to 'Receipt'. 2021-04-06 18:41:16 +04:00
John Preston
2e58993181 Use title/description from paymentReceipt. 2021-04-06 18:41:16 +04:00
John Preston
b08d9fe0b8 Reactivate window on payment close. 2021-04-06 18:41:16 +04:00
John Preston
00c915e58d Add support for inline invoices. 2021-04-06 18:41:15 +04:00
John Preston
0d44736575 First full-featured version of payments, no design. 2021-04-06 18:41:15 +04:00
John Preston
2054b73c3c Apply date edition in service messages. 2021-02-23 21:21:42 +04:00
John Preston
4875f0b003 Improve auto-delete service messages. 2021-02-23 21:21:42 +04:00
John Preston
5f030bc0c8 Remove debug-only ttl for messages. 2021-02-22 23:42:42 +04:00
John Preston
781e7a2e79 Update API scheme, simplify auto-delete. 2021-02-22 23:42:41 +04:00
John Preston
05488022c7 Use ttl_period from service messages as well. 2021-02-22 23:42:41 +04:00
John Preston
c935f1bb16 Always show check marks on outgoing service messages. 2021-02-17 10:46:36 +04:00
John Preston
ff9bf23461 Don't show checks for incoming service messages. 2021-01-25 16:50:59 +04:00
John Preston
146a9c2794 Don't edit old 'voice chat started' message. 2020-12-16 12:20:46 +04:00
John Preston
1b624d67b8 Support voice chats in legacy groups, with migration. 2020-12-14 16:52:18 +04:00
John Preston
546881c720 Join other calls with confirmation. 2020-12-08 19:09:13 +04:00
John Preston
33fc3fe354 Make 'voice chat' links clickable in service messages. 2020-12-08 15:51:18 +04:00
John Preston
c82bc691e0 Improve group call service messages. 2020-12-01 17:17:05 +03:00
John Preston
3a5b625d64 Allow inviting members to the group call. 2020-12-01 09:45:23 +03:00
John Preston
3aa2619a7f Update API scheme to layer 122. 2020-12-01 09:45:21 +03:00
John Preston
a086afb152 Fix legacy group service message in chats list. 2020-11-19 16:47:17 +03:00
John Preston
167a73ef1b Add sent/read checks for some service messages. 2020-11-09 12:36:15 +03:00
John Preston
793ec84098 Fix pinned message of self-destruct media. 2020-10-30 18:32:21 +03:00
John Preston
c4af731b19 Wrap messageActionGeoProximityReached service message. 2020-10-30 18:32:19 +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
John Preston
719bed6e85 Move some text formatting to tg_ui:ui/text/format_values. 2020-09-30 16:29:17 +03:00
John Preston
be14456290 Show correct reply in Replies bot. 2020-09-29 19:03:24 +03:00
John Preston
55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
John Preston
997913be25 One Window::Notifications system for all sessions. 2020-06-23 21:53:42 +04:00
John Preston
f450f81215 Remove non-UI calls to App::main. 2020-06-23 21:53:40 +04:00
John Preston
03dec15e8e Pass Main::Session to click handler creators. 2020-06-23 21:53:38 +04:00
John Preston
3878a1b212 Remove some more Auth() calls. 2020-06-23 21:53:38 +04:00
John Preston
099482574e Fix sending stickers from inline bots.
Fixes #8020.
2020-06-16 20:53:44 +04:00
John Preston
c8d2ac9583 Move message ownership to History. 2020-02-21 18:48:29 +04:00
John Preston
0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston
03cdddfe18 Allow sending scheduled messages. 2019-08-27 19:10:37 +03:00
John Preston
02b65a42f7 Move message client flags to a separate field. 2019-08-09 20:19:23 +01:00
John Preston
850940116d Move HistoryMedia to HistoryView namespace. 2019-08-09 11:50:49 +01:00
John Preston
ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston
0005e0a3ce Track local messages, restore on history jump. 2019-07-24 08:02:20 +02:00
John Preston
567bf60644 Use getters in MTP classes. 2019-07-05 16:23:07 +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
a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00