Commit graph

2123 commits

Author SHA1 Message Date
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
23rd
30cd3cb681 Removed MTP* from AdminLog::FilterValue. 2021-11-26 18:00:21 +04:00
23rd
d6a30c4853 Slightly refactored AdminLog::GenerateItems. 2021-11-26 18:00:21 +04:00
John Preston
7ef78ba6c9 Fix contact status buttons display. 2021-11-26 18:00:21 +04:00
John Preston
d1b9785d31 Allow deleting all from a channel to a group. 2021-11-26 18:00:20 +04:00
John Preston
a7c9a1ab34 Fix chats list forwarded messages sender. 2021-11-26 18:00:20 +04:00
John Preston
9bc9547b1c Revert "Fix crash in imported messages in search."
This reverts commit 65d96c0364.
2021-11-26 18:00:20 +04:00
John Preston
5e3b094e86 Allow report / block / delete all from channels. 2021-11-26 18:00:20 +04:00
John Preston
8d66680a96 Show info about request chat admin incoming message. 2021-11-26 18:00:20 +04:00
John Preston
bdc43c0aea Update API scheme on layer 135.
Add channelAdminLogEventActionSendMessage admin log action.
2021-11-26 18:00:20 +04:00
John Preston
74cfaff100 Migrate Media::Player::Instance to rpl. 2021-11-26 18:00:20 +04:00
John Preston
aab4dbb7cf Hide export and fast share for noforwards. 2021-11-26 18:00:19 +04:00
John Preston
80fcffcc40 Delete history for specific days in private chats. 2021-11-26 18:00:19 +04:00
John Preston
dd7568ed3a Fix Send As button visibility. 2021-11-26 18:00:19 +04:00
John Preston
b47e29b182 Fix custom chat themes in scheduled messages. 2021-11-26 18:00:19 +04:00
John Preston
dee8b1fe6f Don't attach outgoing items from a channel to each other. 2021-11-26 18:00:19 +04:00
John Preston
3c040ab5f9 Fix send as button refresh. 2021-11-26 18:00:19 +04:00
John Preston
8c824edaa5 Choose send as in scheduled / discussions. 2021-11-26 18:00:19 +04:00
John Preston
773755d70e Send as a channel in HistoryWidget. 2021-11-26 18:00:18 +04:00
John Preston
1bd74fe478 Choose a channel to send messages as. 2021-11-26 18:00:18 +04:00
John Preston
4691cff3f6 Start SendAsButton in HistoryWidget. 2021-11-26 18:00:18 +04:00
John Preston
c849d17667 Remove corner download if noforwards. 2021-11-26 18:00:18 +04:00
John Preston
96c910190b Restrict saving files as if noforwards. 2021-11-26 18:00:18 +04:00
John Preston
fd6751233e Disable selecting items with actions. 2021-11-26 18:00:18 +04:00
John Preston
487e8a9009 Disable copy to clipboard if noforwards. 2021-11-26 18:00:18 +04:00
John Preston
3a536c6f75 Show forwards toggle in recent actions. 2021-11-26 18:00:18 +04:00
John Preston
154c0e6bb2 Don't show empty top bar selections. 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
431e3035af Update API scheme to layer 135. 2021-11-26 18:00:18 +04:00
John Preston
f2e4a5a35a Highlight YouTube video timestamps as external links. 2021-11-18 16:03:12 +04:00
John Preston
2f48fe920e Fixed edit of scheduled messages. 2021-11-13 13:44:56 +04:00
John Preston
6eaeb306d6 Add a RequestDependentMessageData method. 2021-11-08 12:37:02 +04:00
John Preston
213d7875ba Rename insertLocalMessage -> insertMessageToBlocks. 2021-11-08 12:37:02 +04:00
John Preston
bd5f145a8c Fix unwrapped media display in Replies chat. 2021-11-07 12:51:20 +04:00
John Preston
c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
John Preston
af93d7cc97 History::createItem returns not_null. 2021-11-06 00:36:16 +04:00
John Preston
d0cb387c6e Fix layout of webpage preview with a sticker with small height. 2021-11-05 15:28:32 +04:00
23rd
55eb381bd2 Removed display of stale sponsored messages. 2021-11-05 11:27:26 +03:00
John Preston
5565da5308 Fix webpage with ViewButton links in text. 2021-11-05 10:37:38 +04:00
23rd
5c4b68d632 Fixed possible crash on sponsored messages. 2021-11-05 08:27:33 +03:00
John Preston
63919422e0 Version 3.2: Fix build error on Linux. 2021-11-03 17:56:32 +04:00
John Preston
7a57174ab1 Register sponsored view only on full message show. 2021-11-03 15:49:48 +04:00
23rd
52bacb3cde Improved tracking of views for sponsored messages. 2021-11-02 20:58:35 +03:00
John Preston
4efeaacf5c Add send context menu to StickerSetBox. 2021-11-02 20:11:20 +04:00
John Preston
eae6e4fc60 Fix build on non-Windows. 2021-11-02 00:06:56 +04:00
John Preston
8b4a95826c Fix webpage layout with ViewButton. 2021-11-01 14:54:44 +04:00
John Preston
60444b1fee Fix message ViewButton rendering in 1x. 2021-11-01 13:11:34 +04:00
John Preston
65d96c0364 Fix crash in imported messages in search. 2021-11-01 13:11:34 +04:00
John Preston
510e1e9cdf Fix one more unused variable warning. 2021-10-31 11:01:39 +04:00