Commit Graph

39 Commits

Author SHA1 Message Date
23rd b55ed7214a Removed text commands from history item components. 2022-01-12 11:54:24 +03:00
John Preston 5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +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 ead695b101 Don't pass wide fake MsgId through MTPMessage. 2021-09-30 15:30:39 +04:00
23rd 900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston c39024c7fd Track and display unread count in discussions. 2021-08-30 20:32:58 +03:00
John Preston 116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
John Preston 773912f586 Apply local / server comment updates together. 2021-07-20 12:20:22 +03:00
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
23rd 062c451c27 Refactored handle of last editable message on Up arrow in sections. 2021-02-04 18:13:03 +04:00
John Preston 574d915c23 Fix build and tray icon menu on Windows. 2021-01-22 16:53:59 +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 3fadf2ee54 Added Up arrow shortcut to edit comments. 2021-01-11 22:46:56 +03:00
John Preston 53ac4c00ad Track deleted messages carefully.
Fixes #8855.
2020-10-23 16:35:43 +03:00
John Preston a711c89409 Fix crash on wrong server response.
Fixes #8724.
2020-10-05 12:58:12 +03:00
John Preston 4b6d74dd9b Fix opening Replies section on unread bar. 2020-10-02 19:29:29 +03:00
John Preston d965385356 Fix loading comments. 2020-10-02 16:10:50 +03:00
John Preston d66debd802 Fix crash on bad message in Replies section. 2020-10-01 18:08:27 +03:00
John Preston b08fa069b4 Fix assertion violation in case of bad messages. 2020-10-01 17:38:49 +03:00
John Preston e8a58c4c8d Fix crash in replies list management. 2020-09-30 21:11:24 +03:00
John Preston 13ad590a51 Track inbox/outbox comments/replies read state. 2020-09-29 19:03:27 +03:00
John Preston e484bc78d0 Update API scheme on layer 119. 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 afbc0c498f Use service message instead of unread bar. 2020-09-29 19:03:26 +03:00
John Preston 6eedeb3852 Inject full album to the Replies section. 2020-09-29 19:03:26 +03:00
John Preston 7f928a92ea Show root as pinned when not visible as message. 2020-09-29 19:03:26 +03:00
John Preston cf48152853 Inject discussed message when no comments. 2020-09-29 19:03:25 +03:00
John Preston 808e8dcf4f Inject discussed message in Replies section. 2020-09-29 19:03:25 +03:00
John Preston 59abe95754 Show comments unread status. 2020-09-29 19:03:25 +03:00
John Preston b8424b1d89 Add read status tracking to comments. 2020-09-29 19:03:24 +03:00
John Preston 78d83a2c69 Show local sending messages in replies section. 2020-09-29 19:03:24 +03:00
John Preston fb20be3e6c Open channel comments, not replies. 2020-09-29 19:03:23 +03:00
John Preston ce91caa820 Fix build on macOS. 2020-09-29 19:03:23 +03:00
John Preston c563df7d9d Fix navigation in a message replies section. 2020-09-29 19:03:22 +03:00
John Preston 1849f01b15 Jump to near reply inside a replies thread. 2020-09-29 19:03:22 +03:00
John Preston 00cdae0369 Implement replies list request. 2020-09-29 19:03:18 +03:00