Andrea Cavalli
b084b2facf
Fix compilation issues
2022-11-25 21:37:20 +01:00
Andrea Cavalli
5f5fa9afa2
Merge remote-tracking branch 'td/master'
2022-11-25 19:27:21 +01:00
levlam
0b387a61ad
Add source to dup_file_id.
2022-11-21 11:40:43 +03:00
levlam
1d672470ea
Don't register VoiceNote and VideoNote messages for bots.
2022-11-12 10:51:57 +03:00
Andrea Cavalli
f42cce37a4
Merge remote-tracking branch 'td/master'
2022-11-06 12:19:22 +01:00
levlam
d1afd1c3b7
Minor improvements.
2022-11-02 19:51:41 +03:00
levlam
0d05683771
Support waveform for video notes.
2022-10-20 23:23:40 +03:00
levlam
14b80ecd6f
Support speech recognition for video notes.
2022-10-20 21:31:00 +03:00
levlam
49c993b674
Make VideoNotesManager an actor.
2022-10-20 18:53:12 +03:00
levlam
02ed5e4f1e
Register video note messages.
2022-10-19 18:30:25 +03:00
levlam
42244e0a77
Use suggested_video_note_length as default size for video notes.
2022-10-21 00:10:43 +03:00
levlam
a13afd0a93
Use std::move to update document fields.
2022-10-20 01:16:24 +03:00
levlam
6917d9c36f
Improve secret chat schema constructor naming.
2022-09-28 12:17:04 +03:00
Andrea Cavalli
10bd3f0afc
Fix merge
2022-08-29 00:58:09 +02:00
Andrea Cavalli
6bddb57999
Merge remote-tracking branch 'td/master'
...
# Conflicts:
# td/telegram/PollManager.cpp
# td/telegram/VideoNotesManager.cpp
2022-08-29 00:41:56 +02:00
levlam
8f433070df
Minor fixes.
2022-08-14 15:04:08 +03:00
Andrea Cavalli
70ad9c53c5
Merge remote-tracking branch 'td/master'
2022-08-13 22:56:08 +02:00
levlam
29460cacc8
Use WaitFreeHashMap for document storages.
2022-08-04 10:50:34 +03:00
levlam
8ec29b019a
Use get_document if possible.
2022-08-03 23:23:32 +03:00
levlam
ad72974e70
Simplify implementation of merge_* for documents.
2022-08-03 21:58:07 +03:00
levlam
33623f9818
Remove unused can_delete_old parameter.
2022-08-03 21:38:03 +03:00
Andrea Cavalli
cd4a07a7c7
Merge remote-tracking branch 'td/master'
2022-07-22 13:09:22 +02:00
levlam
0f87447ffc
Asynchronously destroy some big data storages.
2022-07-20 13:40:14 +03:00
Andrea Cavalli
a116cc9b19
Merge remote-tracking branch 'td/master'
2022-06-21 18:38:28 +02:00
levlam
1e417ea212
Minor fixes.
2022-06-02 16:19:16 +03:00
Andrea Cavalli
a156fcfb1d
Merge remote-tracking branch 'td/master'
2022-05-16 00:00:04 +02:00
levlam
880a582959
Add layer 143 to secret chats.
2022-05-11 07:46:06 +03:00
levlam
f9f309d334
Simplify SecretInputMedia creation.
2022-05-11 01:53:18 +03:00
Andrea Cavalli
d84305048e
Merge remote-tracking branch 'td/master'
2022-04-22 15:35:30 +02:00
levlam
05c0833525
Add PhotoFormat.h.
2022-04-09 23:21:07 +03:00
Andrea Cavalli
e047add8a2
Update tdlib
2022-03-15 11:36:21 +01:00
levlam
2b1314295d
Check and fix half of FlatHashMap usages.
2022-02-10 00:59:52 +03:00
Andrea Cavalli
09b98f6b30
Merge remote-tracking branch 'td/master'
2022-01-04 00:04:21 +01:00
levlam
8085779cdc
Update copyright year.
2022-01-01 03:35:39 +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
a20e8b6db3
Merge remote-tracking branch 'td/master'
2021-09-04 16:03:33 +02:00
levlam
aaff89a6c3
Make get_document_object methods const.
2021-08-28 14:16:29 +03:00
levlam
cf7c14fb59
Remove unneeded document.is_changed.
2021-08-26 18:50:28 +03:00
Andrea Cavalli
fe8f46bfe3
Disable leftover minithumbnails if the option is set
2021-08-03 19:55:27 +02:00
Andrea Cavalli
4286622a5a
Merge remote-tracking branch 'td/master'
2021-08-02 10:47:33 +02:00
levlam
9e3ad28d09
Allow video notes without sound and prevent their creation.
2021-08-01 07:40:57 +03:00
Andrea Cavalli
c41ec7df43
Merge remote-tracking branch 'td/master'
2021-06-30 13:31:50 +02:00
levlam
d80b613b55
Remove support for secret chat layers before 73.
2021-06-08 18:31:29 +03:00
levlam
8db4febd4c
Minor improvements.
2021-06-02 15:43:56 +03:00
levlam
d7c739dc70
Ignore document and chat photo minithumbnails by bots.
2021-05-27 21:15:30 +03:00
Andrea Cavalli
9c67d7a6b7
Fix disable_minithumbnails
2021-04-03 13:10:25 +02:00
Andrea Cavalli
78291a96d4
Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d'
2021-03-21 01:04:45 +01:00
levlam
0339921102
Improve some spelling.
2021-03-15 03:32:14 +03:00
Andrea Cavalli
85fb357a19
Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-02 12:57:08 +01:00
levlam
52c1da0a70
Update copyright year.
2021-01-01 15:57:46 +03:00