Commit Graph

380 Commits

Author SHA1 Message Date
John Preston 4910a60499 Track mentions / reactions together with unread. 2022-11-01 19:25:40 +04:00
John Preston 5356f6cd2c Reload topics on channelDifferenceTooLong. 2022-11-01 19:25:40 +04:00
John Preston 7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
John Preston adaa1d0c55 Support pinned topics in forums. 2022-11-01 19:25:40 +04:00
23rd a4856e4436 Added handling of error for too much number of activated usernames. 2022-11-01 19:25:40 +04:00
23rd ad70942d0e Moved usernames data management to separated class. 2022-11-01 19:25:39 +04:00
23rd 17623640b3 Slightly improved appearing of usernames list. 2022-11-01 19:25:39 +04:00
23rd 51cead1445 Added initial implementation of api for usernames. 2022-11-01 19:25:38 +04:00
23rd 5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
John Preston 89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston 16e189a2ce Update API scheme on layer 148: Usernames. 2022-11-01 19:25:37 +04:00
John Preston d92580b8fc Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston b8bdca8921 Extract Data::Thread common for History / ForumTopic. 2022-11-01 19:25:37 +04:00
John Preston 3999bca823 Support unread mentions / reactions in topics. 2022-11-01 19:25:36 +04:00
John Preston 6a7f030ee7 Update API scheme on layer 148.
Extract message history corner buttons code.
2022-11-01 19:25:36 +04:00
John Preston 2c0b5b3210 Track unread mentions / reactions in topics. 2022-11-01 19:25:36 +04:00
John Preston 9348039313 Track unread posts in forums inside RepliesList-s. 2022-11-01 19:25:36 +04:00
John Preston 3722e55b67 Support topic on-the-fly creation. 2022-11-01 19:25:35 +04:00
John Preston d15173e09d Update API scheme on layer 148. 2022-11-01 19:25:35 +04:00
John Preston 9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
Ilya Fedin 7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 08321b8d8b Fix sending custom emoji based on Dice-type game emoji. 2022-09-14 20:41:24 +04:00
John Preston 40bdcd7ebc Short poll extended media. 2022-09-12 18:18:31 +04:00
John Preston d2234d88b6 Update extended media, hide inline keyboard. 2022-09-12 16:10:56 +04:00
John Preston 0a3077b9a5 Update API scheme on layer 145. 2022-09-02 21:14:33 +04:00
John Preston 923e725e18 Request default and recent emoji statuses. 2022-09-02 21:14:33 +04:00
23rd 6f3d19914d Unified parsing of MTP gift and subscription options in separate file. 2022-09-02 21:14:32 +04:00
John Preston 668a3308be Support custom emoji reactions in WhoReacted. 2022-09-02 21:14:31 +04:00
John Preston ba83836922 Display custom emoji reactions under messages. 2022-09-02 21:14:31 +04:00
John Preston 8a6b3027f5 Support multiple reactions from one user. 2022-09-02 21:14:31 +04:00
John Preston 31db1804c8 Request top and recent reactions. 2022-09-02 21:14:31 +04:00
John Preston f8c962712b Update API scheme on layer 145. 2022-09-02 21:14:31 +04:00
John Preston f658cb7e99 Update API scheme on layer 145. 2022-09-02 21:14:30 +04:00
John Preston 1e2e007d38 Show custom emoji in private chat reactions. 2022-09-02 21:14:29 +04:00
John Preston 60cc232884 Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston 77772caabb Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston c126a1e56e Simplify CustomEmojiId. 2022-08-15 13:17:24 +03:00
John Preston fede1ff173 Simplify stickers inner API. 2022-08-15 11:34:22 +03:00
John Preston 3698396677 Remove MTP from Polls::create interface. 2022-08-11 09:06:43 +03:00
John Preston e7a3c5367a Make MTP* optional in ConfirmInviteBox. 2022-08-11 09:02:41 +03:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston b7cc2e9894 Don't pass redundant MTPUpdates arguments. 2022-08-05 13:37:41 +03:00
John Preston 9b92700c24 Add additional cloud premium stickers to fake-set. 2022-08-04 17:48:36 +03:00
John Preston 4915ea8ad3 Add convenient appConfig().get<int>(..). 2022-08-02 13:20:38 +03:00
John Preston 8bb3cd7e65 Push click handler context to Api::ActivateBotCommand. 2022-07-28 20:03:38 +03:00
John Preston e64190fb64 Fix crash in attached emoji preview. 2022-07-27 12:26:22 +03:00
John Preston 4cf4b6a368 Optimize emoji / stickers update requests. 2022-07-26 20:12:14 +03:00
John Preston b4b55973b5 Request and cache featured emoji sets. 2022-07-26 20:12:13 +03:00
John Preston b31a3ba5a3 Improve emoji set box design. 2022-07-26 20:12:13 +03:00