levlam
c916566e76
Fix MessagesManager::get_chat_object.
...
GitOrigin-RevId: a5dddba5f844b8064fe7083c8532f9d2286b9dba
2020-10-03 21:47:12 +03:00
Andrea Cavalli
7cdfd93433
Merge branch 'feature-dialog-unload-delay'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-02 17:38:14 +02:00
Andrea Cavalli
6a3a55f244
Merge commit '99163ff431a23938a6060d7c8268a5a1e8571310'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-02 17:34:08 +02:00
Andrea Cavalli
011d5c123a
Rename chat_unload_delay and fix its implementation
2020-10-02 17:32:24 +02:00
levlam
99163ff431
Fix canGetMessageThread.
...
GitOrigin-RevId: 688fd7615bc841284611393f77e8598e7d9cba13
2020-10-02 15:01:11 +03:00
levlam
ce1138ea13
Fix handling of wrong is_outgoing flag.
...
GitOrigin-RevId: 2b5a98ddc37139aaae39615fb5719cd0ed84ed7a
2020-10-02 14:31:41 +03:00
levlam
952cfd0cba
Fix self Creator status in channels.
...
GitOrigin-RevId: 883cb8a08cb01e8534001e1f2936f60398ede681
2020-10-02 14:12:24 +03:00
levlam
187ebc603c
Make function name unique.
...
GitOrigin-RevId: 2d8e805b36376e2c5f2a5630794ed9797254496c
2020-10-02 13:22:06 +03:00
levlam
86e7186bae
Rename "chat_unload_delay" option and fix its implementation.
...
GitOrigin-RevId: a81de53455816c959986cd3924674600d0086adc
2020-10-02 12:42:16 +03:00
Andrea Cavalli
e0b335bc3e
Option "chat_unload_delay" for bots ( #1219 )
...
* Option "chat_unload_delay"
This option allows to override the default chat unload delay. The allowed range is from 60 to 86400 seconds (1 day)
2020-10-02 12:19:43 +03:00
levlam
771ace5c8d
Minor fixes.
...
GitOrigin-RevId: 7cc15963615dd50f1be3aa37c336214b28f93bb4
2020-10-02 02:17:58 +03:00
levlam
e1954304ea
Remove 'using namespace td' from a test.
...
GitOrigin-RevId: 77374ec20c363e09e497744c3bed67a71b8e2b20
2020-10-02 01:34:32 +03:00
levlam
13cb7c6a13
Fix test.
...
GitOrigin-RevId: 7416bb7aa65805038267767213634ec0950b3885
2020-10-02 01:24:35 +03:00
Andrea Cavalli
e8e9dc4abf
Merge commit '7d5b47990b4878f6a2a560d8cf064e28d46672ed'
2020-10-01 23:45:32 +02:00
Andrea Cavalli
96cf4f15a4
Merge commit '711b0cfd4f2aa163858b94e97db25d6be4adcfcb'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-01 23:45:02 +02:00
levlam
7d5b47990b
Do not handle errors of messages.getReplies in channels.
...
GitOrigin-RevId: f80a65a578fa4ced3596acc635fa6759feb8e844
2020-10-01 22:57:24 +03:00
levlam
610443fc22
Send updateMessageInteractionInfo after ReplyInfo change, only if reply info is visible.
...
GitOrigin-RevId: ccafd95ce42cfe318a4a9fb096e0580093decf4c
2020-10-01 22:43:13 +03:00
levlam
ca1594c8ec
Update reply info if linked_channel_id is changed.
...
GitOrigin-RevId: 629721095881d2c9a401519d26f75bbbba4446f9
2020-10-01 22:28:54 +03:00
levlam
1169365710
Fix documentation.
...
GitOrigin-RevId: 9c5b310b278d35ae7e408b03f5c52d17247174d9
2020-10-01 19:39:58 +03:00
levlam
ad2f6d8168
Make DialogAction fields private.
...
GitOrigin-RevId: 2d826e7fcf58428dbbf062baddbde01629708475
2020-10-01 19:35:54 +03:00
levlam
8c4a9e7553
Add DialogAction::get_typing_action().
...
GitOrigin-RevId: a2abad1076b6a54135ee945f8f75a0f8b2c04af7
2020-10-01 19:30:07 +03:00
levlam
711b0cfd4f
Introduce DialogAction class.
...
GitOrigin-RevId: f94011c1b70cdc17115bfbb981c6e000110adfbf
2020-10-01 19:28:10 +03:00
levlam
c6cdfb377c
Improve language code processing in searchEmojis.
...
GitOrigin-RevId: 9c5de24f89a1614a2cd058185156678a0b0049c4
2020-10-01 17:21:26 +03:00
Andrea Cavalli
637486c417
Change default value also for users with message_db enabled
2020-10-01 15:41:32 +02:00
Andrea Cavalli
c4137b1e7f
Optimization
2020-10-01 15:30:51 +02:00
Andrea Cavalli
235e766c5d
Typo
2020-10-01 15:28:16 +02:00
Andrea Cavalli
cfd9966e7e
Fix typos and cleanup
2020-10-01 15:26:33 +02:00
Andrea Cavalli
f6d7221e75
Syntax fix
2020-10-01 15:15:49 +02:00
levlam
c332f26352
Introduce messageReplyInfo.
...
GitOrigin-RevId: 10e757b71fde4e29aa81905bfba5fc4ca5523bbb
2020-10-01 16:12:20 +03:00
Andrea Cavalli
41e5ce21ac
Merge commit '3d2067475e0764d4765b41aa372e5c3c10a5af5d'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-01 14:53:43 +02:00
levlam
d66c404f3a
Fix can_get_message_thread flag.
...
GitOrigin-RevId: 4f44e18cecabd3e7f1aff85a91078b3749e76bfc
2020-10-01 15:52:19 +03:00
levlam
6e9108a69d
Disallow message threads in not-linked chats.
...
GitOrigin-RevId: aaf20c0076c3fe2ceb30b65d1f9fef602aa8e51d
2020-10-01 15:47:58 +03:00
Andrea Cavalli
23af91ce0d
Merge commit '7cde6f0adb890300355663f904155570197f8b9d'
2020-10-01 14:37:44 +02:00
levlam
6c63c859c9
Add MessagesManager::get_top_thread_full_message_id.
...
GitOrigin-RevId: 002b7503278a9a84c96b41088b888220498b10f6
2020-10-01 15:25:54 +03:00
levlam
6944b4d435
Pass expected_idalog_id instead of channel_id in GetDiscussionMessageQuery.
...
GitOrigin-RevId: b5e537a49e25c5d342e8dd682cb6ca7e4bfc2686
2020-10-01 14:47:02 +03:00
Andrea Cavalli
b955a8fa77
Renamed option to chat_unload_delay, limited input value from 60 seconds to 1 day. Options limited to bots.
2020-10-01 13:27:29 +02:00
Andrea Cavalli
c83fc13a60
Merge commit '1d9989cbd700492ffe636385d5578946f62139d9'
...
Conflicts:
td/telegram/ContactsManager.cpp
td/telegram/ContactsManager.h
td/telegram/MessagesDb.cpp
td/telegram/MessagesManager.cpp
2020-10-01 13:22:37 +02:00
Andrea Cavalli
d5fc32937f
Option "dialog_unload_delay"
...
This option allows to override the default dialog unload delay. The allowed range is from 0 to 86400 seconds (1 day). Set to -1 to restore the default behavior
2020-10-01 12:38:42 +02:00
Andrea Cavalli
33a55a1a0a
Option "dialog_unload_delay"
...
This option allows to override the default dialog unload delay. The allowed range is from 0 to 86400 seconds (1 day). Set to -1 to restore the default behavior
2020-10-01 12:35:52 +02:00
Andrea Cavalli
8255ff5ded
Merge commit 'a6463970b1b6c88d81cd0360446248abb348f1b0'
2020-10-01 11:59:47 +02:00
Andrea Cavalli
b922e14de5
Merge commit '6d23ea4aa90d6a9815138efb832d45ee91cb984d'
...
Conflicts:
td/telegram/files/FileManager.cpp
2020-10-01 11:52:14 +02:00
Andrea Cavalli
503488a801
Merge commit '4d47247fc135d63ec13b7521c74460bfda03e557'
2020-10-01 11:46:07 +02:00
Andrea Cavalli
24ee424c91
Merge commit '3aee3527511ce43ae670081f3f65a71e7c92ee2c'
...
Conflicts:
td/telegram/MessagesDb.cpp
2020-10-01 11:42:54 +02:00
levlam
b8f81b2ac0
Fix message_thread_id in td_api::messageThreadInfo.
...
GitOrigin-RevId: f308844f1ea02eab8993df5c660d7cf1242484bc
2020-10-01 12:13:20 +03:00
levlam
f26689d557
Remove unexisting vcpkg option usage.
...
GitOrigin-RevId: ce4d7fdcdc1b7371f2615be42fb36b3e672c1df8
2020-10-01 11:04:33 +03:00
levlam
3d2067475e
Fix secret chat test.
...
GitOrigin-RevId: e69725eca0bcaeab7552f83dba353994f136c323
2020-09-30 23:01:58 +03:00
levlam
30921606c5
Increase version to 1.6.9.
...
GitOrigin-RevId: 55cb12c94aaa4d10362a6429eb92c56b67ed73a0
2020-09-30 22:51:46 +03:00
levlam
da9141a431
Update ContactsManager::have_input_peer_channel.
...
GitOrigin-RevId: ae8fb4a5d3ee7f7c7740382f35ff01a287770b53
2020-09-30 22:40:34 +03:00
levlam
3d3ddf655b
Explicitly convert int64 to double.
...
GitOrigin-RevId: afdf35ee316ebb7e317921d4e4734582203783e3
2020-09-30 22:21:32 +03:00
levlam
f83022c406
Fix warning.
...
GitOrigin-RevId: 0457285fd8f7313917718c01ef801037257e1053
2020-09-30 22:19:46 +03:00