Commit Graph

204 Commits

Author SHA1 Message Date
23rd 823b4e6b98 Added icon for inaccessible users. 2022-11-22 00:26:49 +00:00
John Preston 8dc27339b4 Support pinned messages bar in topics. 2022-11-01 19:25:43 +04:00
John Preston 602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04:00
John Preston b4a9705564 Simplify pin_messages/manage_topics logic. 2022-11-01 19:25:41 +04:00
John Preston 70e5f752ba Correctly handle complex pin_messages/manage_topics. 2022-11-01 19:25:41 +04:00
John Preston ad2f9438a2 Support topic closing. 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 5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
23rd 9b7329b378 Removed username from public data members of ChannelData. 2022-11-01 19:25:38 +04:00
John Preston 6997e165c6 Forum three-dot menu, except search. 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 24843e3acd Rounded square userpics for forums. 2022-11-01 19:25:37 +04:00
John Preston 6695eda1be Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
John Preston 58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston eaf679916a Create / move forum topics on new messages. 2022-11-01 19:25:32 +04:00
John Preston c88140e256 Update API scheme to layer 148, start forums. 2022-11-01 19:25:32 +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 f72092a261 Update API scheme on layer 145. 2022-09-02 21:14:30 +04:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
23rd 505e60545e Respected privacy setting for voice messages when they are forwarded. 2022-07-26 20:12:12 +03:00
23rd 67195f3825 Added initial support of privacy setting for voice messages. 2022-07-26 20:12:11 +03:00
John Preston 1c720af9bc Clear history allowed when delete channel allowed. 2022-06-20 12:04:56 +04:00
John Preston ff51bf81f3 Allow clearing history in megagroups. 2022-06-20 11:30:43 +04:00
23rd 5f8608ed90 Moved out BotCommand struct to separated file. 2022-06-14 18:45:12 +04:00
John Preston 201edb2e69 Play premium video avatars in chats list. 2022-05-19 17:27:03 +04:00
John Preston a752c4d9f3 Update API scheme on layer 142. 2022-05-19 17:27:01 +04:00
John Preston e3dc4ae088 Version 3.7: Fix a crash in some langpacks. 2022-04-16 20:58:17 +04:00
John Preston be6ee73a04 Update bot menu attach in realtime. 2022-04-11 12:18:16 +04:00
John Preston 3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
John Preston 5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
John Preston afcebb136c Don't use MTP for PeerData::isSelf. 2021-12-02 13:36:49 +04:00
John Preston 16232c0a4a Open channel profile from message sender click. 2021-11-29 14:54:31 +04:00
John Preston 0f443da758 Track noforwards flag in specific messages. 2021-11-26 18:00:22 +04: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 8d66680a96 Show info about request chat admin incoming message. 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 9be47f0870 Allow restricting forwards in groups / channels. 2021-11-26 18:00:18 +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 aef45b3a1d Refactor icon unread counter painting. 2021-11-02 20:12:57 +04:00
John Preston 9e05e44a14 Inform about join request being sent. 2021-10-29 18:31:06 +04:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
CoderTimZ c9e24c2283 Display dates with the system date format 2021-10-11 21:56:29 +04:00
23rd d8fb5be9b5 Moved opening peer from PeerClickHandler to SessionController. 2021-10-07 23:32:10 +03:00
John Preston ab0d2bf9c6 Initial chat theme changing. 2021-09-28 19:27:41 +04:00
John Preston 14314df26a Show userpics in who read context item. 2021-09-09 00:10:49 +03:00
John Preston 1a4a9319f3 Custom colors in history_view_message module. 2021-09-06 13:13:26 +03:00
John Preston cd8d257c70 Disable chat themes. 2021-08-31 19:51:56 +03:00