Commit Graph

277 Commits

Author SHA1 Message Date
John Preston 9dfc60026e Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
23rd dc8eb79295 Moved code of data send actions from Data::Session to separated file. 2021-08-30 23:08:57 +03:00
John Preston 3cd0f9d189 Start non-unique ChatTheme. 2021-08-30 20:32:57 +03:00
John Preston f3dd8c68b3 Load chat cloud themes list. 2021-08-30 20:32:57 +03:00
John Preston f2f19b14eb Fix reading one message if last one is outgoing. 2021-08-17 18:07:20 +03:00
John Preston 116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
John Preston 22e77bf3af Don't use MTP* for ReplyMarkup flags. 2021-07-28 15:16:23 +03:00
John Preston 7bbc4b7191 Add basic new messages animation. 2021-07-20 12:20:22 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston a74228acea Don't use MTP* for ChannelData flags. 2021-07-08 16:11:09 +03:00
John Preston 5040c2e766 Don't use MTP* for ChatData flags. 2021-07-08 15:11:46 +03:00
John Preston e34375405e Don't use MTP* for UserData flags. 2021-07-08 14:19:12 +03:00
John Preston e5ac7a1416 Fix creating a scheduled voice chat. 2021-04-12 15:36:19 +04:00
John Preston 35ff621b5b Show toast on successfull payment. 2021-04-12 12:50:31 +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 66e7f05df1 Improve scheduled voice chat top bar design. 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
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00
Ilya Fedin c4dcf064d5 Avoid multiple .arg usage as suggested by clazy 2021-03-13 19:08:33 +03: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 8142acc709 Remove legacy #feed code. 2021-02-25 17:03:51 +04:00
John Preston f9f52302bb Ignore accents in contacts list sorting. 2021-02-22 23:42:42 +04:00
John Preston 8f0e23bb25 Improve editing messages with link previews.
Now preview state can be one of (allowed, cancelled, empty-in-edit).

In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.

That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
23rd eb42a77eb7 Changed Up arrow shortcut for albums to edit item with caption.
Fixed #10134.
2021-01-22 16:53:59 +04:00
23rd 15254599e2 Unified checking for editable message. 2021-01-11 22:46:56 +03:00
John Preston 1b624d67b8 Support voice chats in legacy groups, with migration. 2020-12-14 16:52:18 +04:00
John Preston 8618fe41ee Apply new group call from new service message. 2020-12-01 09:45:22 +03:00
John Preston b3eb7858e6 Save local drafts in scheduled / replies sections.
Fix inline bot switch inline in scheduled / replies sections.
2020-11-17 12:58:07 +03:00
John Preston 0687cea1ed Fix unpinning all messages. 2020-10-30 18:32:22 +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 91a0416037 Implement local pinned bar hiding. 2020-10-30 18:32:18 +03:00
John Preston ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
John Preston b9f40e35cd Switch between pinned messages in chat. 2020-10-30 18:32:17 +03:00
John Preston ec35e3f081 Track multiple pinned messages in MessagesList. 2020-10-30 18:32:17 +03:00
John Preston 3d54a263b8 Stop playing documents when items are deleted. 2020-10-23 15:22:38 +03:00
John Preston 1cabfaa6a4 Fix cancel / crash in sending album to scheduled messages.
Fixes #8788
2020-10-23 11:22:38 +03:00
John Preston e8df47c926 Show send action animations in Replies thread. 2020-09-29 19:03:30 +03:00
John Preston d89be1d1d4 Don't read messages in channels I'm not in. 2020-09-29 19:03:27 +03:00
John Preston ab429212e5 Respect global group read position in replies. 2020-09-29 19:03:27 +03:00
John Preston a287dec242 Allow sending typing/send actions for Replies section. 2020-09-29 19:03:27 +03:00
John Preston a91c078fb1 Count attachments only on visible items. 2020-09-29 19:03:26 +03:00
John Preston 9abca29f4c Show comments bar when no unread bar. 2020-09-29 19:03:25 +03:00
John Preston 883c3ecf65 Improve root message layout in Replies section. 2020-09-29 19:03:25 +03:00
John Preston 78d83a2c69 Show local sending messages in replies section. 2020-09-29 19:03:24 +03:00
John Preston 00cdae0369 Implement replies list request. 2020-09-29 19:03:18 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
John Preston 1a9c241b96 Update API scheme to layer 116. 2020-07-25 11:24:11 +04:00
23rd 11018d76f1 Added Up arrow shortcut to edit scheduled messages. 2020-07-20 21:44:07 +03:00
John Preston 2f5cb33bf2 Fix finalizing media in non-active account. 2020-07-14 19:02:27 +04:00