Commit Graph

910 Commits

Author SHA1 Message Date
levlam
92fbabbe1a Fix call to get_channel_difference.
GitOrigin-RevId: 4594b60bbdceacded2f540ccc6a3c0d9fc5c16c6
2018-10-22 18:19:39 +03:00
levlam
d992c895d0 Ignore unsuitable bots in getTopChats.
GitOrigin-RevId: a669a09cddc1bd1e2f5fce7483346aad27ddc6e4
2018-10-22 16:47:41 +03:00
levlam
00c5033386 Add more checks for message validness.
GitOrigin-RevId: 5bc63465eb68b305f9b60a3b73c9669386d045e6
2018-10-22 02:01:55 +03:00
levlam
5b603d0dd7 Fix misprint.
GitOrigin-RevId: 22e684341c9484d9f02696651cc3997983992cc8
2018-10-22 02:00:34 +03:00
levlam
7d751220a7 Fix warning.
GitOrigin-RevId: f4f9e41fae377de204eadfbc45408703a3d7c384
2018-10-21 05:11:56 +03:00
levlam
776ab59c8d Exclude sponsored chat from unread counts.
GitOrigin-RevId: 3bf1951938b6cf2c7f9a9e3b4c67554c8202f9fe
2018-10-14 02:51:35 +03:00
levlam
b7a779db3b Add get_update_unread_*_count_object functions.
GitOrigin-RevId: 9f5c53acaad72ad7288882691232f7e7c85d8127
2018-10-09 17:12:10 +03:00
levlam
6dbef6ef76 Fix returning invalid Unicode from parse_html.
GitOrigin-RevId: 9277022a53d23ac5c3eb1427eb48bd886b789d09
2018-10-09 16:27:40 +03:00
levlam
041896ab8d Copy notification settings to newly created secret chat from private chat.
GitOrigin-RevId: 5c2e0a7eba59f41fcdbe70ab134299620250e907
2018-10-08 23:42:24 +03:00
levlam
f2298ce27d Fix errors handling in some ResultHandlers.
GitOrigin-RevId: 5aa4c8b7d53fa55ed6a750e3815ff1337cb5ebcd
2018-10-08 22:18:44 +03:00
levlam
872cf6e10d Add local locking to FileFd::lock.
GitOrigin-RevId: 4ad3e15f9952b1c68c879182a0f10dd5cad270f3
2018-10-08 21:18:06 +03:00
levlam
286c5040c1 Do not fail old messages sent to chat with self.
GitOrigin-RevId: eb88cd12fb29a32c6088c6284babe73a3ad71e01
2018-10-08 17:28:06 +03:00
levlam
2540555ae5 Remove source from get_my_id.
GitOrigin-RevId: 623c24323b55937866841c4b0f32b109c513983b
2018-10-08 17:21:56 +03:00
levlam
1b0c7d889d Add MessagesManager::get_my_dialog_id.
GitOrigin-RevId: 2e1e88a171a5ad86186136ef2d6f49d725ce5d09
2018-10-08 17:13:09 +03:00
levlam
41ed585aa2 Fix deleting old data when database is dropped.
GitOrigin-RevId: 0dae9d82c02bf3f45d3ebd37b86e5765887020b3
2018-10-08 16:29:44 +03:00
levlam
03d842194e tg_cli: prevent logging to default_log_interface after closing.
GitOrigin-RevId: f1cb27cd5b5a4af4d46b7ed69e87d43ad5a9f103
2018-10-08 15:59:14 +03:00
levlam
806e570a72 Add source to next_utf8_unsafe.
GitOrigin-RevId: e8e5a47096461c0e76a64eb26cb848651d4d61e8
2018-10-08 15:53:05 +03:00
levlam
08f04112af Fix calling Localization methods before authorization.
GitOrigin-RevId: 49ab08469f8e67b788fdb8fbe8c28514dd85e488
2018-10-08 15:01:09 +03:00
levlam
a26266f336 Improve logging in send_update_new_message.
GitOrigin-RevId: abe4f4c0d1e1d515b01746ba4ef8129bef65083b
2018-10-08 01:00:34 +03:00
levlam
ab2255f9b1 Add MessagesManager::need_unread_counter.
GitOrigin-RevId: 10223c628cd69ec31dfc0d4bdb56078dab234354
2018-10-08 00:28:03 +03:00
levlam
0c64b2cf9c Fix some spelling.
GitOrigin-RevId: 99848b019fce855bf50380ce6ffc2865a007161d
2018-10-07 23:40:58 +03:00
levlam
e7b69c9419 Fix get_pinned_dialogs in presence of sponsored chat.
GitOrigin-RevId: 842d022a1c47856a724f476e4f27236487aee62b
2018-10-07 02:59:30 +03:00
levlam
cd2e596b50 More MessagesManager refactoring.
GitOrigin-RevId: b458c10b0a59704a07030fe4b8dd4891051cd52c
2018-10-02 02:40:34 +03:00
levlam
e07ab63768 Add save_*_logevent methods.
GitOrigin-RevId: 5043948638752fe85d327be5143e79c372438ec9
2018-10-02 02:01:17 +03:00
levlam
21ac4d41d1 Add MessagesManager::send_get_scope_notification_settings_query.
GitOrigin-RevId: d4bc141bb3d5e730427cc07df21d82461312db74
2018-10-02 01:30:03 +03:00
levlam
4d8a832b7d Reduce more cpp source code interdependecies.
GitOrigin-RevId: e80ac4246299a5a3bf515977c24d281055fcadb6
2018-10-02 00:24:45 +03:00
levlam
5ad403a932 Move static functions from Td.cpp to Td::.
GitOrigin-RevId: f1388a1fa9e43165228eb5efc524401b9065f15f
2018-10-01 23:18:05 +03:00
levlam
b3a992a156 Remove unused class.
GitOrigin-RevId: 441411011e32e38115be51e7568d5ac50328d254
2018-10-01 19:35:21 +03:00
levlam
dbcbacea9a Fix getAttachedStickerSets for photos.
GitOrigin-RevId: a96584c9cc797f7e15d850af0a5c4c5d73b3d1ac
2018-10-01 14:34:42 +03:00
levlam
43d8728829 Move some templates implementations to Td.h.
GitOrigin-RevId: e6068e9abd1f1f993a61cf0b1fe27bfab8fa64ec
2018-10-01 05:22:56 +03:00
levlam
4ab14b620a Move RequestActor to RequestActor.h.
GitOrigin-RevId: 50b21b9832f0a9871f6c2fc54ab45818b04258b8
2018-10-01 02:26:06 +03:00
levlam
ad81123d60 Make CallsDbState private to MessagesManager.
GitOrigin-RevId: b1d4b01abff4a534765e3fc52b07db7bd9d07def
2018-10-01 01:34:06 +03:00
levlam
514d84e3ab Update version to 1.3.2.
GitOrigin-RevId: 27d08b1ae337ec36af5a52edd008dfc52bcb17fa
2018-09-30 02:50:12 +03:00
levlam
d452a35d75 Fix type of "enabled_proxy_id" option.
GitOrigin-RevId: 2243cf9007766e91f94dc81e9a965e0a322612a6
2018-09-30 02:24:56 +03:00
levlam
5caac7f47a Move get_log_verbosity_level inside Td.
GitOrigin-RevId: 70f6e9a9dae625b0fe3b0927ea227a19e58e18d2
2018-09-29 07:04:28 +03:00
levlam
091d7143e3 Fix includes.
GitOrigin-RevId: 68b59141c12d6e24ddaf0fa48008bf58935bd818
2018-09-29 04:41:15 +03:00
levlam
0d31fb4e2b Add DialogDate.h.
GitOrigin-RevId: cbfc7cea409685d8e04e37c856fa30b8b361ba0d
2018-09-29 03:39:27 +03:00
levlam
79a613cf45 Move NotificationSettings to separate header.
GitOrigin-RevId: cb0c2e33a0a075dfea2b70ff671de8db0db36ca0
2018-09-29 03:29:57 +03:00
levlam
b6a8624c60 Move DraftMessage to separate files.
GitOrigin-RevId: acf4722d7c1328ee4048f8ca162060923e0be6fe
2018-09-29 02:45:43 +03:00
levlam
4cf6aba717 Move MessageContent and InputMessageText implementations to corresponding files.
GitOrigin-RevId: d308007a3c850f1969b64a08865787ee7b340b34
2018-09-28 23:57:34 +03:00
levlam
362fc331c7 Add get_message_content_deleted_user_id.
GitOrigin-RevId: fe1c4db7920238eb623d5557277472af93523ca1
2018-09-28 19:22:30 +03:00
levlam
58b724c5c0 Add get_message_content_pinned_message_id.
GitOrigin-RevId: ab4fcbe42fdcb177575cdc167a446ea6b334f331
2018-09-28 19:16:03 +03:00
levlam
6539fbcff6 Add get_message_content_new_participant_count.
GitOrigin-RevId: b4c884cdd8d947af3a5a8a3263da2b3bc547be4d
2018-09-28 19:07:14 +03:00
levlam
d5683ee224 Static create_text_message_content.
GitOrigin-RevId: 9def379214c944dce0d42c2fcf08198a49ea1db5
2018-09-28 18:48:03 +03:00
levlam
c061da558b Make create_input_message_content static.
GitOrigin-RevId: ca85aeed0a712ddaff7f44d14f75d119f0feb3b0
2018-09-28 17:50:02 +03:00
levlam
09beaef806 Make process_input_message_text static.
GitOrigin-RevId: 3e7989ecb8ba90da7324748022ebc77b3ebc7660
2018-09-28 17:39:07 +03:00
levlam
12a21587ab Add MessagesManager::get_input_caption.
GitOrigin-RevId: 4145fde2f54092c358c49fc891707186cca277f3
2018-09-28 17:21:05 +03:00
levlam
bfde2f0e32 Add MessagesManager::create_input_message_content.
GitOrigin-RevId: e230e6c6069777e05dde34230492981846064646
2018-09-28 16:59:29 +03:00
levlam
99862b4834 Make create_inline_message_content static.
GitOrigin-RevId: 59768937beb97c7ecb0571f2a28b950e59fd9992
2018-09-28 13:57:56 +03:00
levlam
10e4f008b8 Return pointer from get_message_content_text.
GitOrigin-RevId: c1556ee6e58e13e574881585f889744c4be1d4a4
2018-09-28 05:09:28 +03:00