Commit Graph

912 Commits

Author SHA1 Message Date
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston 088fda4ed8 Correctly track mute button scheduled state. 2021-04-06 18:41:16 +04:00
John Preston 15d17c8b0e Add creating of a scheduled group call. 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 e6ba6050e7 Update button on paid invoices to 'Receipt'. 2021-04-06 18:41:16 +04:00
John Preston 3ec3f6484f Update API scheme to layer 128. 2021-04-06 18:41:15 +04:00
John Preston a82d1e863e Version 2.7.1: Fix channels ban in admin log. 2021-03-20 18:19:31 +04:00
John Preston 2bc2a0e459 Fix possible integer overflow. 2021-03-20 16:03:58 +04:00
John Preston 3bd6b2268f Allow blocking channels in voice chats. 2021-03-20 15:43:35 +04:00
John Preston a0a13c3b86 Update API scheme to layer 126. 2021-03-20 15:43:35 +04:00
John Preston ba41da7b28 Fix discarded group call handle. 2021-03-19 00:57:16 +04:00
John Preston 2b6f50e114 Fix joining / unmuting. 2021-03-18 22:56:42 +04:00
John Preston 38e15c9bdb Fix saving legacy chat admins without migration.
Fixes #10558.
2021-03-18 17:27:33 +04:00
John Preston 00d65fa978 Request one participants slice on voice chat reload. 2021-03-18 16:58:05 +04:00
John Preston b390e0766b Apply all queued updates on reload. 2021-03-18 15:30:58 +04:00
John Preston 2f75e6bbe2 Add some logging for voice chat updates. 2021-03-18 15:22:55 +04:00
John Preston 67623072d6 Fix joining a voice chat. 2021-03-18 00:24:36 +04:00
John Preston 0684db9bd8 Improve participants sorting in voice chats. 2021-03-17 20:37:55 +04:00
John Preston db7b61a77b Rewrite voice chat members list management. 2021-03-17 20:37:55 +04:00
John Preston 056cab6268 Don't apply private userpic 'min' updates. 2021-03-16 18:15:19 +04:00
John Preston 2c806b11d7 Always join voice chats by link with confirmation. 2021-03-16 17:16:01 +04:00
Ilya Fedin 6b68d001ae Get rid of deprecated ranges::action 2021-03-15 11:41:29 +03:00
Ilya Fedin 508762cd2c Use static QFileInfo::exists 2021-03-15 11:21:05 +03:00
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +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 5794679277 Don't accept drafts older than last saved.
I hope it finally fixes #4922, partially fixes #10001.

The rest of #10001 like RAM usage / crashes are unrelated to drafts.
2021-03-12 16:58:26 +04:00
John Preston cd8c9a58df Show 'about' in voice chats for everyone. 2021-03-12 16:58:26 +04:00
John Preston 7edc91e29e Show recording indicator. 2021-03-12 16:58:26 +04:00
John Preston 22aa57ad6f Add recording start/stop to Settings. 2021-03-12 16:58:26 +04:00
John Preston 361e3565d4 Add raised hand display in participants list. 2021-03-12 16:58:26 +04:00
John Preston f66d7088ef Support broadcast mode in voice chats. 2021-03-12 16:58:26 +04:00
John Preston f41abe0a28 Update tgcalls. 2021-03-12 16:58:26 +04:00
John Preston cfd16c6f67 Ignore version in groupCall updates.
Otherwise we may skip participants update that changes the version.
2021-03-12 16:58:26 +04:00
John Preston ef1d98f3cf Show about in voice chat channels. 2021-03-12 16:58:26 +04:00
John Preston bc43168ca7 Add edit voice chat title. 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 4d093f78e2 Update self as channel in voice chats. 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 02517f7221 Update API scheme to layer 125. 2021-03-12 16:58:26 +04:00
Ilya Fedin 8042a83fd2 Move glib usage to glibmm 2021-03-04 12:07:54 +04:00
John Preston 8142acc709 Remove legacy #feed code. 2021-02-25 17:03:51 +04:00
John Preston b5a2b0fb98 Detect file mime from content as well on Linux. 2021-02-22 23:42:43 +04:00
John Preston 221b896117 Suggest converting to gigagroup. 2021-02-22 23:42:42 +04:00
John Preston f9f52302bb Ignore accents in contacts list sorting. 2021-02-22 23:42:42 +04:00
John Preston 0a678ae8bd No 'Clear History' for everyone in groups. 2021-02-22 23:42:42 +04:00
John Preston ce5739048a Fix build on Xcode. 2021-02-22 23:42:42 +04:00
John Preston 467449ac13 When reporting peer allow to select messages first. 2021-02-22 23:42:42 +04:00
John Preston 4896509ddf Allow clear history for everyone in small supergroups. 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