Commit Graph

165 Commits

Author SHA1 Message Date
John Preston 2054b73c3c Apply date edition in service messages. 2021-02-23 21:21:42 +04:00
John Preston 05488022c7 Use ttl_period from service messages as well. 2021-02-22 23:42:41 +04:00
John Preston 6a6e355af4 Handle ttl_period locally. 2021-02-22 23:42:40 +04:00
John Preston 046a3906c4 Destroy messages by ttl_period dates. 2021-02-22 23:42:40 +04:00
23rd 15254599e2 Unified checking for editable message. 2021-01-11 22:46:56 +03:00
John Preston ec35e3f081 Track multiple pinned messages in MessagesList. 2020-10-30 18:32:17 +03:00
John Preston 22a85016e3 Show rank in anonymous outgoing messages. 2020-10-06 10:23:58 +03:00
John Preston 3a700650be Remove comments info if no info in server data. 2020-10-01 11:34:59 +03:00
John Preston 13ad590a51 Track inbox/outbox comments/replies read state. 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 883c3ecf65 Improve root message layout 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 3a51303fb0 Add go to original button to Replies chat. 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 d42ce87c09 Move discussion group link to three-dot menu. 2020-09-29 19:03:23 +03:00
John Preston fb20be3e6c Open channel comments, not replies. 2020-09-29 19:03:23 +03:00
John Preston 31e1ed216a Add comments button to channel posts. 2020-09-29 19:03:23 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
23rd 11018d76f1 Added Up arrow shortcut to edit scheduled messages. 2020-07-20 21:44:07 +03:00
23rd 69bc595e31 Fixed text loss when editing media content is canceled. 2020-07-17 18:22:38 +03:00
John Preston 099482574e Fix sending stickers from inline bots.
Fixes #8020.
2020-06-16 20:53:44 +04:00
23rd 5a75dd2b6f Added handling of updates for rescheduled messages. 2020-05-20 12:41:43 +04:00
23rd 8ebbeb5274 Fixed display of scheduled until online message dates. 2020-01-23 10:09:33 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston 8b766dda8e Fix crash in scheduled message in admin log.
Fixes #6495.
2019-09-06 12:20:59 +03:00
John Preston 0a4f91a53d Notify about published scheduled messages. 2019-08-29 10:01:28 +03:00
John Preston 03cdddfe18 Allow sending scheduled messages. 2019-08-27 19:10:37 +03:00
John Preston 694f771131 Allow to send scheduled messages instantly. 2019-08-27 19:10:37 +03:00
John Preston 3814b0833d Keep track of scheduled messages. 2019-08-27 19:10:37 +03:00
John Preston e1fe373504 Fix localtime-related slowmode errors. 2019-08-20 12:42:37 +03:00
John Preston 02b65a42f7 Move message client flags to a separate field. 2019-08-09 20:19:23 +01:00
John Preston d7f7a03eb4 Don't refresh large emoji messages when sent. 2019-08-09 11:51:35 +01:00
John Preston d298953653 Add large emoji implementation. 2019-08-09 11:50:49 +01:00
John Preston 850940116d Move HistoryMedia to HistoryView namespace. 2019-08-09 11:50:49 +01:00
John Preston 7e4c9f98a6 Track all single-emoji messages. 2019-08-09 11:50:49 +01:00
John Preston f36e2981ca Display custom admin ranks in messages. 2019-07-24 08:02:20 +02:00
John Preston c50ade565a Track sending and failed messages. 2019-07-24 08:02:20 +02:00
John Preston 2162aa8df0 Rename Text to Ui::Text::String. 2019-06-21 11:06:46 +02:00
John Preston a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00
John Preston ea61211a61 Version 1.7.2: Mix peer to grouped_id. 2019-06-01 00:51:57 +03:00
John Preston af85aec33b Allow disabling pinned messages notifications.
Fixes #1864.
2019-05-28 16:59:35 +02:00
John Preston a64c8c52b4 Correctly display discussion posts sender. 2019-05-27 15:09:56 +02:00
John Preston 87caa58456 Forward some inline keyboards. 2019-05-27 15:09:52 +02:00
John Preston 39008bf6fe Fix reading of client side unread messages. 2019-05-01 16:11:44 +04:00
John Preston b5be6df5e2 Copy text with expanded links only to external.
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
John Preston fb244c00b9 Fix local history clearing. 2019-04-08 13:16:45 +04:00
John Preston 5deee18247 Use channels.exportMessageLink to check links. 2019-04-05 15:50:16 +04:00
23rd a6d0fa433e Refactored variables for edit media in HistoryItem.
- Replaced _isLocalUpdateMedia with client flag.
 - Removed _isEditingMedia.
2019-04-04 13:23:14 +03:00
23rd f3102573ea Improved applying edition.
- Fixed cancel single media.
2019-04-02 18:14:12 +04:00
23rd 145dda843e Added initial local reference for edited media. 2019-04-02 18:14:12 +04:00