Commit Graph

42 Commits

Author SHA1 Message Date
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
John Preston 1b624d67b8 Support voice chats in legacy groups, with migration. 2020-12-14 16:52:18 +04:00
John Preston 424ba1dbea Track speaking state in non-joined voice chats. 2020-12-11 15:04:34 +04:00
John Preston c82bc691e0 Improve group call service messages. 2020-12-01 17:17:05 +03:00
John Preston 33941ad1b9 Start group call bar in HistoryWidget. 2020-12-01 09:45:21 +03:00
John Preston 4f6f654e34 Check replies_pts before applying.
Fixes #9062.
2020-11-17 18:05:35 +03:00
John Preston ec35e3f081 Track multiple pinned messages in MessagesList. 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 5540b0bb8b Fixed glitch for scheduled messages with elapsed date in channels. 2020-10-23 13:32:32 +03:00
23rd 035a19b41e Removed authorizations check form Data::Session. 2020-09-30 18:48:34 +03:00
John Preston e8df47c926 Show send action animations in Replies thread. 2020-09-29 19:03:30 +03:00
John Preston 13ad590a51 Track inbox/outbox comments/replies read state. 2020-09-29 19:03:27 +03:00
John Preston f53f934001 Handle new typing update in channels. 2020-09-29 19:03:27 +03:00
John Preston f73b0f0b0d Update API scheme on layer 119. 2020-09-29 19:03:27 +03:00
John Preston c2bb2526d3 Handle updateReadDiscussion. 2020-09-29 19:03:25 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
John Preston 6d36176a8d Add test implementation of webrtc calls. 2020-08-11 18:21:40 +04:00
John Preston e065d32d28 Don't try building profile photos list by updates. 2020-07-23 17:47:04 +04:00
John Preston 79a361ba43 Move call management to Core::App. 2020-06-25 21:57:36 +04: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 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston bc144377c0 Support logout of a secondary account. 2020-06-23 21:53:41 +04:00
23rd 815e26eea5 Added missed handler for MTPupdates_GetState. 2020-06-23 21:53:40 +04:00
John Preston 3c4e959468 Replace observer_peer with rpl interface. 2020-06-23 21:53:40 +04:00
John Preston 0ad7dcaef9 Remove MTP::MainInstance() global access point. 2020-06-23 21:53:40 +04:00
John Preston 0b028b959b Move updates handling MainWidget -> Api::Updates. 2020-06-23 21:53:39 +04:00