Commit Graph

56 Commits

Author SHA1 Message Date
23rd 4ad31ce4e0 Fixed refreshing of file reference in api toggling media module. 2022-04-07 19:18:47 +03:00
23rd cb7da60ec7 Added ability to send existing media with pre-generated local msgId. 2022-02-25 19:41:15 +03:00
John Preston aafc24008b Apply reactions from message edit updates. 2021-12-29 21:22:34 +03:00
John Preston 5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
John Preston 17ffebb684 Fix local display of sent-as from anonymous admin. 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 431e3035af Update API scheme to layer 135. 2021-11-26 18:00:18 +04:00
John Preston 5d0445dd25 Remove unneeded namespace qualifiers. 2021-11-18 11:03:03 +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
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd 816f422e21 Removed MTP* from applying message edition.
Fixed #17073.
2021-10-08 10:39:36 +04:00
John Preston 0c906a5e6d Fix crash in local changelog messages. 2021-10-07 10:58:24 +04:00
John Preston 21ac2b8f3a Don't use MTP* for reply markup data. 2021-10-04 23:47:30 +04:00
John Preston 8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
John Preston 52721847f4 Fix outgoing voice message unread mark. 2021-09-15 13:42:22 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
John Preston 116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
23rd d4bb62d055 Slightly refactored uploading of edit media. 2021-03-13 12:59:11 +03:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston 502a3ca70f Update API scheme to layer 124. 2021-02-22 23:42:40 +04:00
23rd d4bbbdb65c Replaced rand_value util function with openssl::RandomValue. 2021-01-24 10:41:10 +03:00
John Preston d16bc36bae Update API scheme. 2020-12-22 22:39:30 +04:00
John Preston 00504b61cd Allow all messages silent in support mode. 2020-11-19 16:23:57 +03:00
John Preston c2f0bcf933 Keep first game sticker frames inside the binary. 2020-10-30 18:32:19 +03:00
John Preston 7f956d32a6 Support slot machine game. 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 01ab6e6d4d Support anonymous group admins. 2020-09-29 19:03:24 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
John Preston d4feb16378 Don't mark as read when scheduling messages. 2020-07-23 17:46:52 +04:00
23rd 5c097887ef Added ability to edit media in scheduled messages. 2020-07-17 18:22:38 +03:00
John Preston 52e780b065 Fix a memory leak using a recursive lambda. 2020-07-14 19:03:14 +04:00
John Preston f450f81215 Remove non-UI calls to App::main. 2020-06-23 21:53:40 +04:00
John Preston 3c4e959468 Replace observer_peer with rpl interface. 2020-06-23 21:53:40 +04:00
John Preston b0f9ad71dd Check some more App::main()s. 2020-06-23 21:53:40 +04:00
John Preston fc174f742a Move stickers code to Data::Stickers class. 2020-06-23 21:53:38 +04:00
John Preston bdbcd8e540 Use Main::Session in entities parsing. 2020-06-08 12:05:17 +04:00
23rd 41255cab44 Removed display views and author for sent scheduled messages.
Moved filling of post flags to a single place.
2020-05-20 12:41:44 +04:00
John Preston bed208d621 Send dice media based on appconfig. 2020-04-21 18:55:35 +04:00
John Preston 3e2f4bed50 Update scheme to layer 102.
Support different dice-like media.
2020-04-21 18:55:34 +04:00
John Preston 9ef41062d3 Ignore whitespaces in dice sending. 2020-03-30 23:53:10 +04:00
John Preston f8cc134bd6 Send dice emoji as Dice media. 2020-03-27 20:36:02 +04:00
John Preston 818f5cd004 Send and delete messages through Histories. 2020-02-21 18:48:30 +04:00
John Preston db322cc19a Move requestDialogEntry to Histories. 2020-02-21 18:48:30 +04:00
John Preston 849deb57e2 Move many widget classes to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston a87529b8c9 Version 1.8.10.
- Bug fixes and other minor improvements.
2019-10-01 23:59:46 +03:00
John Preston 0c30bbf40a Fix file reference refresh in stickers / GIFs.
Fixes #6592.
2019-09-30 13:25:09 +03:00
John Preston 51c1dc20e1 Unregister randomId if send message fails. 2019-09-09 11:13:41 +03:00
John Preston 03cdddfe18 Allow sending scheduled messages. 2019-08-27 19:10:37 +03:00