John Preston
a752c4d9f3
Update API scheme on layer 142.
2022-05-19 17:27:01 +04:00
John Preston
1de35cf8ef
Support receiving RTMP streams in group calls.
2022-02-25 19:41:15 +03:00
John Preston
963694330d
Correctly apply reaction restrictions.
2022-01-14 21:55:47 +03:00
John Preston
a8bc7baa70
Update all messages in case of chat reactions toggle.
2021-12-29 21:22:34 +03:00
John Preston
9c18f7b0e3
Allow choosing allowed reactions in groups / channels.
2021-12-29 21:22:33 +03:00
John Preston
b1668afdf1
Use available reactions list from the server.
2021-12-29 21:22:33 +03:00
23rd
b9c64499bd
Moved code for api participants to separated file.
2021-11-26 18:00:21 +04:00
23rd
0eee937e6d
Moved ChatRestrictionsInfo and ChatAdminRightsInfo to separated file.
2021-11-26 18:00:21 +04:00
John Preston
1bd74fe478
Choose a channel to send messages as.
2021-11-26 18:00:18 +04:00
John Preston
9be47f0870
Allow restricting forwards in groups / channels.
2021-11-26 18:00:18 +04:00
John Preston
36271d6b85
Save recent requester userIds from API.
2021-10-29 18:31:07 +04:00
John Preston
3af3f85f82
Allow creating approve-only invite links.
2021-10-29 18:31:06 +04:00
23rd
900a7d0b2b
Appended references to const auto types in loop to prevent copying.
...
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
a6c98f4bb4
Update API scheme to layer 133.
2021-09-07 23:41:07 +03:00
John Preston
f3dd8c68b3
Load chat cloud themes list.
2021-08-30 20:32:57 +03:00
John Preston
8fc7ba7ac1
Handle updateBotCommands.
2021-07-13 22:08:09 +03:00
John Preston
75090dedaa
Don't store MTPInputStickerSet in data.
2021-07-08 22:08:59 +03:00
John Preston
a74228acea
Don't use MTP* for ChannelData flags.
2021-07-08 16:11:09 +03:00
John Preston
2ffda9f240
Don't use MTP* for ChatAdminRight / ChatRestriction.
2021-07-08 13:34:06 +03:00
John Preston
b930bc0e6d
Track bot commands separately in different chats.
2021-07-02 20:41:48 +03:00
John Preston
e5ac7a1416
Fix creating a scheduled voice chat.
2021-04-12 15:36:19 +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
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
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
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
John Preston
02e9b8fd18
Support joining to voice chats as a channel.
2021-03-12 16:58:26 +04:00
John Preston
221b896117
Suggest converting to gigagroup.
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
8188ab3033
Adapt UI for gigagroups.
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
4153603d09
Add ability to see invite links of other admins.
2021-02-22 23:42:40 +04:00
John Preston
e5320b4b4e
Implement new permanent invite link management.
2021-01-25 16:47:40 +04:00
John Preston
b396244606
Update API scheme to layer 123.
2021-01-25 16:47:40 +04:00
John Preston
1b624d67b8
Support voice chats in legacy groups, with migration.
2020-12-14 16:52:18 +04:00
John Preston
732bc38e8e
Show chats list badge only for non-empty calls.
2020-12-06 17:28:27 +04:00
John Preston
5a324756fd
Track call_active flag in channels.
2020-12-01 16:22:07 +03:00
John Preston
7983d33ad5
Add manage_call admin right support.
2020-12-01 09:45:22 +03:00
John Preston
41591ff2e9
Add group calls top bar.
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
cd5cad72bd
Use only shared media code for pinned tracking.
2020-10-30 18:32:20 +03:00
John Preston
fc92e3fadd
Add pinned messages section.
2020-10-30 18:32:20 +03:00
John Preston
ec35e3f081
Track multiple pinned messages in MessagesList.
2020-10-30 18:32:17 +03:00
John Preston
6f9ea1cc01
Allow posting comments being not in group.
2020-09-29 19:03:24 +03:00
John Preston
47170da813
Show comments button using 'has_link' flag.
2020-09-29 19:03:24 +03:00
John Preston
31e1ed216a
Add comments button to channel posts.
2020-09-29 19:03:23 +03:00
John Preston
638d4d63c5
Update API scheme to layer 115.
2020-07-25 11:24:11 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
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
John Preston
4b354b0928
Use Main::Session in download/upload.
2020-06-23 21:53:38 +04:00
John Preston
11d31ffc84
Parse and apply cloud filters.
2020-03-27 20:36:01 +04:00
John Preston
1492571232
Fix members dropdown and mention autocomplete.
...
Fixes #7345 .
2020-03-13 23:14:23 +04:00
John Preston
db322cc19a
Move requestDialogEntry to Histories.
2020-02-21 18:48:30 +04:00
John Preston
c8d2ac9583
Move message ownership to History.
2020-02-21 18:48:29 +04:00
John Preston
41e13e39bc
Apply ignore_restriction_reasons from config.
2019-12-09 18:42:11 +03:00
John Preston
ecfe1dacb2
Version 1.8.12: Fix build for Xcode.
2019-10-02 12:54:29 +03:00
Jiachen YANG
9d850b71e7
be compatible with range-v3 0.9.x/1.0 branch
...
This made 2 changes to the current code base to be compatible with higher versions of range-v3 library.
1. ranges::iterator_range was renamed to subrange, see https://github.com/ericniebler/range-v3/issues/766
2. PercentCounterItem need an operator== for ranges::sort for some reason
2019-10-02 11:52:55 +03:00
John Preston
288c1130b9
Version 1.8.2: Fix build.
2019-08-20 14:28:40 +03:00
John Preston
e1fe373504
Fix localtime-related slowmode errors.
2019-08-20 12:42:37 +03:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
db2018c765
Fix owner badges in groups.
2019-07-24 08:37:10 +02:00
John Preston
f36e2981ca
Display custom admin ranks in messages.
2019-07-24 08:02:20 +02:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
2019-07-24 08:02:20 +02:00
John Preston
01d0479335
Show slowmode button in chat.
2019-07-24 08:02:20 +02:00
John Preston
328b090877
Save slowmode settings in groups.
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
7d585ab72f
Handle located groups as public.
2019-06-21 14:27:46 +02:00
John Preston
50778790fe
Start supporting channel discussion groups.
2019-05-27 15:09:25 +02:00
John Preston
2d1dcb36cb
Use folder_id / still_unread_count from updates.
2019-05-01 16:11:38 +04:00
John Preston
76c3e9a529
Display title and userpic of archived chats.
2019-05-01 16:11:14 +04:00
John Preston
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +04:00
John Preston
826d6011a1
Mask channel as forbidden on CHANNEL_PRIVATE error.
...
Fixes #5902 .
2019-04-09 17:19:43 +04:00
John Preston
aa8f62da9d
Support new ('modern') API file locations.
2019-03-29 14:24:07 +04:00
John Preston
8acd47bf2f
Fix pre-history visibility rights check.
2019-03-20 13:22:58 +04:00
John Preston
4c289fc8fb
Fix add members button in channels.
2019-01-30 13:49:36 +03:00
John Preston
2f702148e3
Fix manage channel actions visibility.
...
Fixes #5601 .
2019-01-29 14:52:33 +03:00
John Preston
9728ddeaf9
Handle migration to supergroups in boxes.
2019-01-17 12:21:30 +04:00
John Preston
67d12fa6d2
Improve update handling for legacy chats.
2019-01-17 12:21:30 +04:00
John Preston
a605c110a8
Support legacy groups in participant boxes.
2019-01-17 12:21:29 +04:00
John Preston
18c6be0d3b
Unify legacy and megagroups information edit.
2019-01-17 12:21:29 +04:00
John Preston
eff90395b6
Add EditPeerPermissionsBox.
2019-01-17 12:21:29 +04:00
John Preston
f4d52b82b4
Allow reusing permissions edit controls.
2019-01-17 12:21:29 +04:00
John Preston
61419b57c8
Prepare legacy group restrictions checking.
2019-01-17 12:21:29 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00