Commit Graph

84 Commits

Author SHA1 Message Date
John Preston 67623072d6 Fix joining a voice chat. 2021-03-18 00:24:36 +04:00
John Preston db7b61a77b Rewrite voice chat members list management. 2021-03-17 20:37:55 +04:00
John Preston 2c806b11d7 Always join voice chats by link with confirmation. 2021-03-16 17:16:01 +04:00
John Preston 4659cc50f2 Allow inviting members in channel voice chats. 2021-03-15 22:40:59 +04:00
John Preston ed4dea2b0e Show and play 'allowed to speak' notification. 2021-03-12 21:51:39 +04:00
John Preston d624e2ef65 Fix build on macOS and Linux. 2021-03-12 19:21:35 +04:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston c0df6f7bca Join voice chats by invite links. 2021-03-12 16:58:26 +04:00
John Preston ccd440ea0b Update API scheme. 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 02e9b8fd18 Support joining to voice chats as a channel. 2021-03-12 16:58:26 +04:00
John Preston 7da224d725 Allow disabling calls on tdesktop device. 2021-01-26 15:58:30 +04:00
John Preston ae6decf70b Support ctrl+m/ctrl+w in voice chat panel. 2020-12-22 20:28:13 +04:00
John Preston c5ad7c7c89 Add start/end/reconnecting sounds to voice chats. 2020-12-18 12:44:19 +04:00
John Preston 1b624d67b8 Support voice chats in legacy groups, with migration. 2020-12-14 16:52:18 +04:00
John Preston 092e0990e8 Request mic permission only on unmute. 2020-12-09 17:11:42 +04:00
John Preston 5fe8c0ed7e Show user as active when in call panel. 2020-12-08 21:06:56 +04:00
John Preston 546881c720 Join other calls with confirmation. 2020-12-08 19:09:13 +04:00
John Preston 529c12ea3a Hide call panel when starting hanging up. 2020-12-08 16:03:59 +04:00
John Preston bfce832a7a Don't leave call when joining other call from other device. 2020-12-06 18:12:24 +04:00
23rd 80597e190a Fixed permissions requesting for different call types. 2020-12-01 09:45:24 +03:00
John Preston d773f2c765 Handle call updates only from the correct session. 2020-12-01 09:45:23 +03:00
John Preston 9e5006dd67 Add group call settings box. 2020-12-01 09:45:22 +03:00
John Preston 2ac0a2a10b Send mute state updates in group calls. 2020-12-01 09:45:22 +03:00
John Preston 8833d3e45b Add empty group call panel. 2020-12-01 09:45:21 +03:00
John Preston 25f3c14780 Apply group call updates. 2020-12-01 09:45:21 +03:00
John Preston 33941ad1b9 Start group call bar in HistoryWidget. 2020-12-01 09:45:21 +03:00
John Preston 4d2041ae48 Share video capturer between call and settings. 2020-08-21 17:52:13 +04:00
John Preston a0eb073728 Close call panel instead of hiding. 2020-08-14 19:59:24 +04:00
John Preston 38b9111bf5 Use Ui::Window for the Calls::Panel. 2020-08-12 17:35:31 +04:00
John Preston 83759adb5f Start video call from video call service message. 2020-08-11 18:21:40 +04:00
John Preston 71040464c5 Request camera permissions on macOS. 2020-08-11 18:21:40 +04:00
John Preston 6d36176a8d Add test implementation of webrtc calls. 2020-08-11 18:21:40 +04:00
John Preston 79a361ba43 Move call management to Core::App. 2020-06-25 21:57:36 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston 4d6cc58f0d Move session settings to main_session_settings. 2020-06-23 21:53:42 +04:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston 0ad7dcaef9 Remove MTP::MainInstance() global access point. 2020-06-23 21:53:40 +04:00
John Preston e943264823 Pass MTP::Instance to MTP::Sender. 2019-11-29 15:36:05 +03:00
John Preston 08bfe6f1c1 Extract mtproto key generation code. 2019-11-15 16:16:32 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston 4bad642190 Remove some more Auth() calls. 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 c5df4db621 Fix possible race conditions in msgid(). 2019-07-15 16:00:30 +02:00
John Preston 567bf60644 Use getters in MTP classes. 2019-07-05 16:23:07 +02:00
John Preston dc102bd9e8 Finish working with localstorage before ~AuthSession. 2019-06-22 12:36:35 +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 d36f6a0322 Update API scheme to layer 98. 2019-03-29 14:24:06 +04:00
John Preston 383b29dbd8 Fix possible crash in calls.
Fixes #5732.
2019-03-12 15:26:29 +04:00