Commit Graph

75 Commits

Author SHA1 Message Date
John Preston aafc24008b Apply reactions from message edit updates. 2021-12-29 21:22:34 +03:00
John Preston 1af2cfe143 Extract BottomInfo from HistoryView::Message. 2021-12-29 21:22:33 +03:00
John Preston f5c7b206bb Track message reactions. 2021-12-29 21:22:32 +03:00
John Preston a1439163ce Update API scheme to layer136. 2021-12-29 21:22:32 +03: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
23rd b9c64499bd Moved code for api participants to separated file. 2021-11-26 18:00:21 +04:00
John Preston 4f7c728632 Update API scheme on layer 135. 2021-11-26 18:00:20 +04:00
John Preston 36271d6b85 Save recent requester userIds from API. 2021-10-29 18:31:07 +04:00
John Preston 2ade6be146 Show correct phrase in local join messages. 2021-10-29 18:31:06 +04:00
John Preston 9e05e44a14 Inform about join request being sent. 2021-10-29 18:31:06 +04:00
John Preston 3af3f85f82 Allow creating approve-only invite links. 2021-10-29 18:31:06 +04:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
John Preston 34c0d97c54 Show emoji interaction seen status. 2021-09-17 10:25:36 +03:00
John Preston cfb43081c7 Play incoming interactions. 2021-09-17 10:25:36 +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
23rd dc8eb79295 Moved code of data send actions from Data::Session to separated file. 2021-08-30 23:08:57 +03:00
John Preston 52a6282eb9 Count unread replies locally when possible. 2021-08-30 20:32:58 +03:00
John Preston c39024c7fd Track and display unread count in discussions. 2021-08-30 20:32:58 +03:00
23rd 5bd73bab9b Moved user privacy from ApiWrap to Api::UserPrivacy. 2021-08-10 15:46:18 +03:00
John Preston 116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
23rd 024bb5e54f Moved App::formatPhone to td_ui. 2021-07-26 17:38:51 +03:00
John Preston 8fc7ba7ac1 Handle updateBotCommands. 2021-07-13 22:08:09 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston f22e68fc32 Don't use MTP* for PeerSettings flags. 2021-07-08 17:32:39 +03:00
John Preston a74228acea Don't use MTP* for ChannelData flags. 2021-07-08 16:11:09 +03:00
John Preston 5040c2e766 Don't use MTP* for ChatData flags. 2021-07-08 15:11:46 +03:00
23rd 8e08f69508 Added support updateNewStickerSet and updateStickerSets for masks. 2021-07-06 12:13:05 +03:00
23rd abe62475cb Added support updateStickerSetsOrder for masks. 2021-07-06 12:13:05 +03:00
John Preston e1120d1cb5 Optimize out most of LastUserInputTime() calls.
Fixes #16118.
2021-06-18 19:22:36 +04:00
John Preston f7454a4284 Fix crash on quit in idle state. 2021-05-24 22:45:15 +04:00
John Preston 69ceed5bbc Update API scheme to layer 129. 2021-05-24 22:45:14 +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 8c53a3c19e Don't skip updateGroupCallParticipants while in getDifference. 2021-03-18 00:25:53 +04:00
John Preston 76e08af26a Apply updateGroupCallParticipants before updateGroupCall. 2021-03-17 20:37:55 +04:00
Ilya Fedin 12e306dd7b Replace remaining multi-args 2021-03-15 11:21:05 +03:00
Ilya Fedin c4dcf064d5 Avoid multiple .arg usage as suggested by clazy 2021-03-13 19:08:33 +03:00
Ilya Fedin f25b2a2094 Apply autofixes from clazy 2021-03-13 15:25:47 +03:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston b670ca2a51 Allow to rejoin with changing of 'join_as'. 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 781e7a2e79 Update API scheme, simplify auto-delete. 2021-02-22 23:42:41 +04:00
John Preston 6a6e355af4 Handle ttl_period locally. 2021-02-22 23:42:40 +04:00
John Preston 502a3ca70f Update API scheme to layer 124. 2021-02-22 23:42:40 +04:00
John Preston dfee8238c6 Fix crash in legacy groups speaking typings handling. 2020-12-23 14:45:37 +04:00
John Preston 146a9c2794 Don't edit old 'voice chat started' message. 2020-12-16 12:20:46 +04:00
John Preston 15620b5c2d Divide speaking status and background noise. 2020-12-15 14:16:44 +04:00