Andrea Cavalli
6d1329ee7a
Merge remote-tracking branch 'td/master'
2021-12-17 15:43:10 +01:00
levlam
b060536ae3
Return Result<...> from get_input_user.
2021-12-16 22:46:03 +03:00
Andrea Cavalli
a248d81e5b
Merge remote-tracking branch 'td/master'
2021-11-16 00:42:28 +01:00
levlam
1a291847d7
Improve get_message_sender_dialog_id.
2021-11-15 13:31:07 +03:00
levlam
21c8c752be
Add get_message_sender_dialog_ids.
2021-11-15 12:52:40 +03:00
levlam
a56c34c4dd
Move get_message_sender_object to MessageSender.cpp.
2021-11-15 01:18:47 +03:00
Andrea Cavalli
48e3660d2c
Merge remote-tracking branch 'td/master'
2021-11-14 22:46:37 +01:00
levlam
6238f0fc89
Minor improvements.
2021-11-10 21:09:28 +03:00
levlam
5a02af8c72
Use const reference if range-based for if appropriate.
2021-11-10 20:39:35 +03:00
levlam
616b0e6d6f
Improve ResultHandler/NetActor td_ private field name.
2021-11-08 15:20:38 +03:00
levlam
5578ecc6b8
Remove NetQuery id from ResultHandler and NetActor.
2021-11-08 14:19:57 +03:00
Andrea Cavalli
9f3e26dea6
Merge remote-tracking branch 'td/master'
2021-10-29 14:56:39 +02:00
levlam
05b59cc63b
Improve DialogParticipant field names.
2021-10-29 14:39:07 +03:00
Andrea Cavalli
9b0d54de26
Merge remote-tracking branch 'td/master'
2021-10-29 00:31:20 +02:00
levlam
d06aa6535d
Make DialogParticipantsFilter fields private.
2021-10-23 23:41:13 +03:00
Andrea Cavalli
f11254bdcb
Merge remote-tracking branch 'td/master'
2021-10-21 17:09:27 +02:00
levlam
9f44816a62
Minor improvements.
2021-10-21 12:51:16 +03:00
Andrea Cavalli
98244d1346
Merge remote-tracking branch 'td/master'
2021-10-20 02:21:14 +02:00
levlam
db7aa28bdf
A lot more minor improvements.
2021-10-19 18:11:16 +03:00
levlam
9b7957c9c6
Minor warning fixes.
2021-10-17 13:07:20 +03:00
Andrea Cavalli
982b994332
Merge remote-tracking branch 'td/master'
2021-10-16 18:25:57 +02:00
levlam
328c5b57d2
Add Global::request_aborted_error.
2021-10-07 16:36:21 +03:00
Andrea Cavalli
616a40b3b2
Merge remote-tracking branch 'td/master'
2021-09-29 00:33:23 +02:00
levlam
cdb06da112
Add "; pass null" annotations for expected to be null request parameters.
2021-09-28 17:31:00 +03:00
Andrea Cavalli
45e855f89d
Remove most memory related features
...
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli
897d4af16c
Merge remote-tracking branch 'td/master'
2021-09-25 19:24:57 +02:00
levlam
2ec2e4d78f
Use "set"/"toogle" instead of "change".
2021-09-24 10:42:39 +03:00
Andrea Cavalli
a20e8b6db3
Merge remote-tracking branch 'td/master'
2021-09-04 16:03:33 +02:00
levlam
2b980ec215
Remove default source from have_dialog_force.
2021-09-01 19:41:00 +03:00
levlam
1e663dea46
Add group_call.is_video_recorded.
2021-08-24 17:49:08 +03:00
levlam
b56119951b
Support video streaming in group calls.
2021-08-23 16:59:00 +03:00
levlam
2045c131a9
Support video recording in group calls.
2021-08-23 15:29:03 +03:00
levlam
84be6f4485
Update layer to 132.
2021-08-12 21:15:08 +03:00
Andrea Cavalli
d341c79aa8
Merge remote-tracking branch 'td/master'
2021-08-03 19:56:27 +02:00
levlam
0dc42e4410
Add source to get_message_sender_object.
2021-08-03 01:58:02 +03:00
Andrea Cavalli
41d58ad66d
Fix compilation issues
2021-07-17 11:49:47 +02:00
Andrea Cavalli
3dde04b17f
Merge remote-tracking branch 'td/master'
2021-07-17 11:15:40 +02:00
levlam
fa792176cd
Use local unmuted video count if possible.
2021-07-13 03:14:48 +03:00
levlam
5b3ddfcfc1
Use add_group_call_participants if possible.
2021-07-12 21:17:37 +03:00
levlam
b83b3a45cb
Send updates when groupCall.can_enable_video changes.
2021-07-12 20:21:34 +03:00
levlam
3e351a0946
Use getGroupCall to sync participants.
2021-07-09 18:36:35 +03:00
levlam
04435b8d53
Update layer 131.
2021-07-09 02:55:23 +03:00
levlam
1464e85a5b
Move can_enable_video to groupCall.
2021-07-08 19:59:16 +03:00
levlam
ff153bef36
Update layer 131. Add screen_sharing_audio_source_id.
2021-07-06 02:33:42 +03:00
levlam
40c5d47717
Make inherited classes final if possible.
2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98
Use final instead of override.
2021-07-03 23:51:36 +03:00
Andrea Cavalli
c41ec7df43
Merge remote-tracking branch 'td/master'
2021-06-30 13:31:50 +02:00
levlam
ebbc929efb
Fix video pausing.
2021-06-22 19:39:21 +03:00
levlam
d0f0e8dbcf
Fix presenation pausing.
2021-06-22 18:38:04 +03:00
levlam
9940dd74db
Remove botInfo class from API.
2021-06-21 04:14:29 +03:00