Commit Graph

7481 Commits

Author SHA1 Message Date
Andrea Cavalli
0bfef9e46f Merge remote-tracking branch 'td/master' 2022-09-22 01:07:13 +02:00
levlam
2a41ab0562 Don't add self speculatively to channel members if join requests are enabled in the chat. 2022-09-21 19:04:36 +03:00
levlam
6c91b9aa6b Create all dialogs before initializing inactive_channel_ids_. 2022-09-21 18:55:21 +03:00
levlam
831f0bead3 Send updateMessageContent about edited messages. 2022-09-21 18:02:28 +03:00
levlam
23fe3994bf Don't unload messages from the last media album. 2022-09-21 17:44:25 +03:00
levlam
e9ccb43ccd Use const Message * earlier in add_message_to_dialog. 2022-09-21 17:30:03 +03:00
levlam
b6db8a66ec Remove dangerous Timestamp::store. 2022-09-21 14:25:31 +03:00
levlam
9c04dc47ad Add support for cashtag in Twitter link preview. 2022-09-20 18:13:14 +03:00
levlam
3a579dd5cb Improve warning on long RawConnection::flush. 2022-09-20 17:46:10 +03:00
levlam
097f3d42e1 Fix error code in on_upload_error/on_download_error. 2022-09-20 02:02:28 +03:00
levlam
ee381ecbb5 Avoid force_reuse even for message photos. 2022-09-20 00:26:22 +03:00
levlam
74879d9726 Move PerfWarningTimer to SessionConnection::do_flush. 2022-09-19 21:33:23 +03:00
levlam
06e1ebf809 Add check just in case. 2022-09-19 16:34:28 +03:00
levlam
b9bd024969 Update message notifications after external changes of message content. 2022-09-19 16:26:56 +03:00
levlam
bb6fc999f8 Add on_message_notification_changed function. 2022-09-19 16:19:59 +03:00
levlam
618bface99 Save voice message to database when it is recognized. 2022-09-19 11:15:13 +03:00
levlam
8d0cb5b82d Return is_content_changed from update_message_content. 2022-09-19 01:12:20 +03:00
levlam
5cf248ae01 Call on_message_changed after send_update_message_content. 2022-09-19 01:05:23 +03:00
levlam
51403c883c Avoid usage of send_update_message_content with dialog_id. 2022-09-19 00:29:31 +03:00
levlam
91c54cc748 Move send_update_message_content out of update_message_content. 2022-09-19 00:24:15 +03:00
levlam
fcdd1e01d5 Destroy SQLite database if wasn't authorized. 2022-09-18 22:09:57 +03:00
levlam
12a8a5dbda Fix error handling in ReadFeaturedStickerSetsQuery. 2022-09-18 21:57:13 +03:00
levlam
297594af7e Use SqliteDb::destroy instead of plain unlink. 2022-09-18 21:35:16 +03:00
levlam
15db91b536 Update version to 1.8.6. 2022-09-16 21:38:09 +03:00
levlam
aeed5107b7 Fix Slice lifetime. 2022-09-16 13:56:56 +03:00
levlam
b76a920db8 Open Telegraph links in instant view. 2022-09-16 13:51:52 +03:00
levlam
47d4101def Add enum LinkType. 2022-09-16 13:20:19 +03:00
levlam
0025c4164b Add internalLinkTypeInstantView. 2022-09-16 01:30:54 +03:00
levlam
d2ad29725d Replace actor in chatEventMessagePinned/chatEventMessageUnpinned. 2022-09-15 21:35:37 +03:00
levlam
ce1292ea32 Allow to always reuse photos from inputMessagePhoto. 2022-09-15 16:08:19 +03:00
levlam
111018eadd Add logging for some slow operations. 2022-09-15 15:03:19 +03:00
levlam
e087521b01 Fix compilation error. 2022-09-14 19:02:49 +03:00
levlam
e5fbb33555 Remove all chosen reactions, exceeding reaction limit. 2022-09-14 17:55:02 +03:00
levlam
cef7ca17f3 Always show all reaction choosers in private chats. 2022-09-14 17:15:12 +03:00
levlam
534f17e784 Randomize delays between failed getChannelDifference. 2022-09-14 16:41:59 +03:00
levlam
c646e43e37 Minor improvements. 2022-09-14 16:31:47 +03:00
levlam
1ac2dfef30 Replace ConcurrentScheduler::init with constructor. 2022-09-14 15:06:52 +03:00
levlam
70e3586626 Allow to specify affinity mask for concurrent scheduler threads. 2022-09-14 14:49:48 +03:00
levlam
124b0dee6c Ensure that custom reactions aren't added twice. 2022-09-13 19:39:35 +03:00
levlam
30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam
5213561096 Make non-const MessageReaction functions private. 2022-09-13 15:35:18 +03:00
levlam
38fbd00e99 Add and use get_reactions_hash. 2022-09-12 21:55:30 +03:00
levlam
8e5dccbdb5 Fix updating of active reactions in MessagesManager. 2022-09-12 21:39:23 +03:00
levlam
999326d56a Locally add reaction to recent. 2022-09-12 20:17:14 +03:00
levlam
164f5e97fd Support telegram_api::updateRecentReactions. 2022-09-12 19:52:08 +03:00
levlam
f85b79d9bc Add td_api::clearRecentReactions. 2022-09-12 19:37:45 +03:00
levlam
ece581b797 Load recent reactions. 2022-09-12 19:14:02 +03:00
levlam
7b6d0ea6b4 Load top reactions from server. 2022-09-12 17:28:58 +03:00
levlam
de1ed3275f Add td_api::getCustomEmojiReactionAnimations. 2022-09-12 15:44:37 +03:00
levlam
a33eb5233c Add td_api::getEmojiReaction. 2022-09-12 15:03:35 +03:00