levlam
|
c5dfa59782
|
Fix MessagesManager::can_delete_dialog.
|
2022-05-24 17:41:32 +03:00 |
|
levlam
|
9c9a74c52d
|
Workaround GCC 7.4.0 false warning.
|
2022-05-19 19:50:02 +03:00 |
|
levlam
|
16959e33e4
|
Use WaitFreeHashMap for message_id_to_dialog_id_.
|
2022-05-19 19:34:48 +03:00 |
|
levlam
|
1616513c4c
|
Add and use MessagesManager::is_deleted_message.
|
2022-05-18 12:16:32 +03:00 |
|
levlam
|
e65c0827a4
|
Drop dangling replies to yet unsent messages.
|
2022-05-17 16:27:46 +03:00 |
|
levlam
|
0bf2aaf4f2
|
Resolve identifiers of being added secret messages by their random_id.
|
2022-05-17 16:19:39 +03:00 |
|
levlam
|
19407656b5
|
Add more logging and don't set unused message flags.
|
2022-05-17 15:30:58 +03:00 |
|
levlam
|
f53f750b39
|
Change replied message ID from yet unsent to persistent after the message is sent.
|
2022-05-17 15:06:40 +03:00 |
|
levlam
|
bf37753056
|
Keep reply_to_message_id for forwards to secret chats.
|
2022-05-16 21:10:18 +03:00 |
|
levlam
|
8f42c97252
|
Fix CHECK.
|
2022-05-16 20:00:59 +03:00 |
|
levlam
|
26ceefb2d4
|
Keep reply_to_message_id for yet unsent messages between restarts.
|
2022-05-16 19:47:06 +03:00 |
|
levlam
|
190117c839
|
Add local reply_to_message_id to forwarded by the server messages.
|
2022-05-16 18:11:49 +03:00 |
|
levlam
|
b6c7da172c
|
Log received messages.
|
2022-05-15 18:37:55 +03:00 |
|
levlam
|
5a1a64764b
|
Add check that there are no two new chats added simultaneously.
|
2022-05-15 10:53:06 +03:00 |
|
levlam
|
70050704d2
|
Remove unimplemented UploadCallback::on_progress.
|
2022-05-15 01:13:07 +03:00 |
|
levlam
|
de5f047dba
|
Remove all emoji modifiers, including modifiers in the middle.
|
2022-05-12 18:02:27 +03:00 |
|
levlam
|
3d796860d2
|
Use server-side forward as copy.
|
2022-05-08 23:54:04 +03:00 |
|
levlam
|
0a91c2b097
|
Remove unused argument.
|
2022-05-05 23:07:42 +03:00 |
|
levlam
|
fb1efdbba8
|
Return back notification.is_silent.
|
2022-05-03 16:09:40 +03:00 |
|
levlam
|
4652292037
|
Use count instead of find if appropriate.
|
2022-05-01 23:03:06 +03:00 |
|
levlam
|
00aa9f54bd
|
Use ContactsManager::get_dialog_id in on_get_common_dialogs.
|
2022-04-30 21:22:27 +03:00 |
|
levlam
|
f2dead72ca
|
Use can_delete_dialog in delete_dialog_history.
|
2022-04-29 14:50:54 +03:00 |
|
levlam
|
ddbfc45925
|
Add MessagesManager::can_delete_dialog.
|
2022-04-29 14:33:35 +03:00 |
|
levlam
|
cdd82c67c9
|
Unify update variable names.
|
2022-04-28 18:39:05 +03:00 |
|
levlam
|
576c96a83d
|
Reload number of unread reactions after receive new edited message.
|
2022-04-28 18:31:25 +03:00 |
|
levlam
|
ad65446480
|
Reget unread reaction count when receive update about unread reaction on unknown message.
|
2022-04-28 17:43:29 +03:00 |
|
levlam
|
36c2ef9e62
|
Ensure that the current user is among recent choosers of the chosen reaction.
|
2022-04-27 22:13:05 +03:00 |
|
levlam
|
ee157920e9
|
Expect that it is not possible to see added reactions under discussion messages.
|
2022-04-27 21:47:50 +03:00 |
|
levlam
|
7cabdbc74f
|
Improve flags initialization in do_forward_messages.
|
2022-04-27 10:02:35 +03:00 |
|
levlam
|
17275fe422
|
Output the number of objects to be freed on closing.
|
2022-04-25 20:52:44 +03:00 |
|
levlam
|
13bd8044cf
|
Add source to send_update_chat_unread_reaction_count.
|
2022-04-23 01:14:51 +03:00 |
|
levlam
|
7fcd92a622
|
Move is_document_file_type to FileType.cpp.
|
2022-04-21 21:54:33 +03:00 |
|
levlam
|
1a2efed26d
|
Remove NetQuery::set_chain_ids.
|
2022-04-17 23:21:56 +03:00 |
|
levlam
|
b9036dda3e
|
Don't call get_history_from_the_end for bots.
|
2022-04-17 14:33:34 +03:00 |
|
levlam
|
3215bb0242
|
Replace is_silent with sound_id in notifications.
|
2022-04-15 18:36:24 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +03:00 |
|
levlam
|
2696a4abbb
|
Restore failed to delete messages.
|
2022-04-12 17:34:08 +03:00 |
|
levlam
|
877452f6ce
|
Add Global::get_retry_after.
|
2022-04-12 16:12:22 +03:00 |
|
levlam
|
7a2b3abe18
|
Support new NotificationSound.
|
2022-04-11 20:01:44 +03:00 |
|
levlam
|
bb8c4ca42c
|
Fix updating of Dialog.available_reactions_generation.
|
2022-04-11 16:01:30 +03:00 |
|
levlam
|
80d57a493f
|
Move get_input_notify_peer to NotificationSettingsManager.
|
2022-04-11 13:06:16 +03:00 |
|
levlam
|
9fd72e86d0
|
Move scope notification settings tp NotificationSettingsManager.
|
2022-04-11 12:45:52 +03:00 |
|
levlam
|
b3a0c1dcda
|
Fix notifications settings of newly created chats.
|
2022-04-08 18:08:06 +03:00 |
|
levlam
|
cb5fe8c7cd
|
Move some related to notification settings methods to NotificationSettingsManager.
|
2022-04-08 17:17:56 +03:00 |
|
levlam
|
161d34fc15
|
Keep in chat list empty joined basic groups.
|
2022-04-08 15:35:21 +03:00 |
|
levlam
|
7c4f3c79ef
|
Suppress expected error.
|
2022-04-04 20:05:34 +03:00 |
|
levlam
|
1f11239255
|
Use InvokeAfter for some chat-related requests.
|
2022-04-04 20:01:56 +03:00 |
|
levlam
|
c5d58a8158
|
Add source to MessagesManager::repair_server_unread_count.
|
2022-04-04 19:29:03 +03:00 |
|
levlam
|
da3baf09e9
|
Improve logging.
|
2022-04-04 19:08:47 +03:00 |
|
levlam
|
1d6488ab09
|
Add ContactsManager::is_broadcast_channel/is_megagroup_channel helpers.
|
2022-04-04 15:48:33 +03:00 |
|