Commit Graph

112 Commits

Author SHA1 Message Date
levlam
372196280c Fix unneded call to on_message_changed.
GitOrigin-RevId: 77ed3c201080d86a37698955ed4d17a9a6429e30
2018-03-26 19:29:35 +03:00
levlam
6d9792e9ea Fix yet_unsent_media_queues_.
GitOrigin-RevId: 6249449a81bede3cc596c8670b66800551df1587
2018-03-19 20:42:45 +03:00
levlam
c9a9e386e5 Check message content type in on_get_recent_locations.
GitOrigin-RevId: 50f343e2f8a6e023b50d57663a4b7f27e6f4088c
2018-03-14 21:57:04 +03:00
levlam
23cd9f656f Fix warning.
GitOrigin-RevId: 220da64c77eb25f99fa620ff72065a31d0674117
2018-03-14 21:48:36 +03:00
levlam
0b54ca677b Better cancel_user_dialog_action.
GitOrigin-RevId: f7b9518af4f98a2f36bece905b6a2e7222cda28c
2018-03-14 21:36:28 +03:00
levlam
52f45abf65 Handle chatAction timeouts.
GitOrigin-RevId: acd087bf97f6ff39af8111b1c8d984f72f041467
2018-03-13 20:48:08 +03:00
levlam
8eaea5d4af Send updateUserChatAction from on_user_dialog_action.
GitOrigin-RevId: 6af5402efa9ac21b9054278c839d982b4fbdcb6e
2018-03-13 11:57:58 +03:00
levlam
86666a8418 Cancel previous setEncryptedTyping query.
GitOrigin-RevId: dcebab6bae15c25def5f7c6bc15f03fffea66ef4
2018-03-13 11:08:56 +03:00
levlam
d9e76824ab Fix CE.
GitOrigin-RevId: e271b99a124cfdac7a15e78d50594402bcdc75a4
2018-03-13 01:21:41 +03:00
levlam
85c2cc160d Add textEntityTypePhoneNumber.
GitOrigin-RevId: b8705ec13104848c5ae0597aee6cf4e6f41762db
2018-03-13 00:17:29 +03:00
levlam
c489e3b91d Automatically send ChatAction while files are uploaded.
GitOrigin-RevId: 45c27ab71ede8c0f82265b34b752e03ffc1c1c8c
2018-03-12 23:33:56 +03:00
levlam
76de8f374e Preserve remote_id in update_message_content.
GitOrigin-RevId: 136c7a391374a54d1e1c5afac5b68d986c9c7001
2018-03-08 22:01:24 +03:00
levlam
8b0cce1610 Re-enable sent file merge when only FileType changes.
GitOrigin-RevId: 728228d2397097ae1aaf68ce062c0cdd21fa0176
2018-03-07 02:41:40 +03:00
levlam
c1e3f2d65d Use new config constants.
GitOrigin-RevId: 6f0d02a9ca91e7db2d416eb89861080ff9f6f30c
2018-03-04 23:50:38 +03:00
levlam
e0381695a3 Add is_secret flag to messageAnimation, messagePhoto, messageVideo and messageVideoNote.
GitOrigin-RevId: 15bcfda6fb5723c6e4468ce73d0ad737a09426dc
2018-03-04 22:18:32 +03:00
levlam
aeff9a99d1 Do not increment message view counter in closed chats.
GitOrigin-RevId: e08b6cbea02602538fa5189eeee574a9d65ce604
2018-03-04 17:59:18 +03:00
levlam
83b8a3a942 View messages in all chats.
GitOrigin-RevId: 19e415c997342b01f9d0f1323910e52fab2b6be8
2018-03-04 17:41:02 +03:00
levlam
75371b6399 Add Chat.can_be_reported.
GitOrigin-RevId: b1cf15ee0071bbb2ab6d026121eb9d2a0735e5b4
2018-03-04 17:14:37 +03:00
levlam
40144546bb Silence MESSAGE_NOT_MODIFIED for regular users.
GitOrigin-RevId: 4cab24b760b68f378f48aeaed321889a2f3fa2ac
2018-03-04 02:09:08 +03:00
levlam
d64280c890 Update layer #76.
GitOrigin-RevId: d865abc2c8fb9b3b1350fcd689ef086de38aab3e
2018-03-04 00:33:26 +03:00
levlam
b5036975b8 Allow to specify message_ids in td_api::reportSpam.
GitOrigin-RevId: c77dcd89e58c38ac218204230620513c2cdda60d
2018-03-02 19:21:43 +03:00
levlam
93c22e7047 Add expires_in to messageLocation.
GitOrigin-RevId: d713cdd57d8b534c3d123a81d28a51b3586bf491
2018-03-01 02:14:22 +03:00
levlam
7c445958ed Improve logging.
GitOrigin-RevId: dcc5c492ecdc569ae2d85b5d36373e4f88b35ae2
2018-02-28 20:03:24 +03:00
levlam
343b83c23c More calls to recalc_unread_message_count.
GitOrigin-RevId: 33435c2952192c876e6636534d12330c976b9bd0
2018-02-27 04:04:38 +03:00
levlam
8d16c86c73 Preload chats from server if there is no more chats in the database.
GitOrigin-RevId: b80b27fc423f9059edc103c94678dd2fd8fb01aa
2018-02-26 21:31:10 +03:00
levlam
0c9249f7f6 Add updateUnreadMessageCount.
GitOrigin-RevId: 7d8c4d085cd742cd000ce409545c9a034b8ad586
2018-02-25 03:00:17 +03:00
levlam
483678a6b9 Remove unused cstdio header.
GitOrigin-RevId: 3530f550b85f244ec7b7274ded224bf7f15a3fa9
2018-02-24 00:29:36 +03:00
levlam
d409d44d7f Remove MessagesManager dependency on sstream.
GitOrigin-RevId: dd20f03bdef240f92ce01a485f3555553e93f113
2018-02-24 00:25:17 +03:00
levlam
412c93b0f1 Send updateNotificationSettings when a chat is unmuted.
GitOrigin-RevId: 739c836bbcdff57200eb488a8d7f5a43163d86e5
2018-02-23 18:35:36 +03:00
levlam
a75b6611d5 Always change unread count through set_dialog_last_read_inbox_message_id.
GitOrigin-RevId: 0c00b8369c4f7e0d4f83d514ce4264bf821acbf7
2018-02-23 04:35:36 +03:00
levlam
d1f1a14a37 Update layer to 76: add messageWebsiteConnected.
GitOrigin-RevId: 8cb5128a7d7eac2afe0622fc901392bf318fa460
2018-02-22 03:36:40 +03:00
levlam
f4afe7f63e Ensure that there is no mentions in private chats.
GitOrigin-RevId: dac0f3f92695cdb4dda1303e5deb0df7c4132423
2018-02-21 16:44:23 +03:00
levlam
3119a17518 Improve td_json_client documentation.
GitOrigin-RevId: a2d673c42de4a9fa4d882bcc20fe279084edcb28
2018-02-21 03:53:29 +03:00
levlam
c3fe3f97ec Accept formattedText in getWebPageInstantView.
GitOrigin-RevId: b9f2345eb170da6cbdbb6c70abf11fa682630802
2018-02-21 00:20:45 +03:00
levlam
d23f21abb0 Move fix_text_message implementation to MessageEntity.cpp.
GitOrigin-RevId: 24e1a7d780f5cbef62f6b2df9b4df042ab89feea
2018-02-20 05:41:17 +03:00
levlam
e936bc0130 Add set_dialog_is_pinned(DialogId) function.
GitOrigin-RevId: ba1973e459a8db3e1bfd5e433dbac40e965353e1
2018-02-20 04:47:55 +03:00
levlam
d7377b2a20 Better condition for dropping messages with message_id < 1.
GitOrigin-RevId: d9e0f45c96bebfc85c6493f46166d27879674b79
2018-02-20 03:45:17 +03:00
levlam
2576b10082 Fix failed to send message message_id.
GitOrigin-RevId: 9fba0bd1fb7ce8d396c0012c9537155dc20f1054
2018-02-20 03:14:47 +03:00
levlam
b676810b50 Use get_url_file_name whenever appropriate.
GitOrigin-RevId: 4a1f408424883c56d2017f4239cae01987bd39c0
2018-02-20 02:29:19 +03:00
levlam
d475864012 Fix suggested name for generate, local and URL files.
GitOrigin-RevId: 2f203b2964f4b7da08346a7147e51af027baa2d2
2018-02-20 01:28:06 +03:00
levlam
3604f1cf54 Add some debug logging.
GitOrigin-RevId: 6bd223bb40b2092f703d62531df13b96cb3e6066
2018-02-19 23:21:53 +03:00
levlam
0c9eb44038 Rename FileNode.name to remote_name.
GitOrigin-RevId: 578a0ae7728ef97b35dc8d5bcbbe7c2456a3dd6c
2018-02-18 19:29:44 +03:00
levlam
269cf358e0 Fix some spelling.
GitOrigin-RevId: 102622d5c1871a52d6b229f708df6305006f6137
2018-02-17 02:54:44 +03:00
levlam
617435c557 Fix can_be_forwarded flag for expired messages.
GitOrigin-RevId: 2e693cf8b25ebc419230bfe0d2c7aad145f4708a
2018-02-17 02:16:24 +03:00
levlam
b72fd09756 Fix get_replied_message.
GitOrigin-RevId: de539d5bf3f676ad67805524b7b61d60cb4f5cc3
2018-02-14 08:51:35 +03:00
levlam
841d5a1d20 Fix get_replied_message.
GitOrigin-RevId: 3199073da8ad8de3be08c103e48abb93caed550f
2018-02-14 08:19:50 +03:00
levlam
18b09b4ab1 Fix some logging.
GitOrigin-RevId: 08549f79a7ebb5b1b0b2ab9d13ab591f78103e6b
2018-02-14 00:28:16 +03:00
levlam
cc9369d49d MessagesManager::fix_new_dialog.
GitOrigin-RevId: ae0f68c634031d58660b68e4f3360d017935547d
2018-02-14 00:17:00 +03:00
levlam
471bca8da0 Replace CHECK eith check.
GitOrigin-RevId: 6614933068233bc485f9282cc318289ce18bfd3b
2018-02-13 22:33:02 +03:00
levlam
d6e9386ca8 Always wait for mailbox in MessagesManager just in case.
GitOrigin-RevId: edd7c3e794a8ba7c359e780835180d07bddd7ae3
2018-02-13 20:00:40 +03:00