Commit Graph

4810 Commits

Author SHA1 Message Date
levlam
260eee8bff Avoid upgrade of read transaction to a write transaction. 2021-05-10 01:59:35 +03:00
levlam
9176381cff Add debug for failed CHECK. 2021-05-09 18:43:39 +03:00
levlam
0d41ba340f Ensure that ChannelFull isn't loaded in on_channel_status_changed and on_channel_username_changed. 2021-05-09 18:14:43 +03:00
levlam
c0c5e24b9b Drop slow_mode_delay in saved to database ChannelFull if slow mode is disabled in the channel. 2021-05-09 03:23:45 +03:00
levlam
4a13e791bb Don't load ChannelFull from database in invalidate_channel_full. 2021-05-09 03:21:18 +03:00
levlam
25a6cb07bc Add more checks. 2021-05-09 02:53:15 +03:00
levlam
ec362f9e2b Add more logging on failed CHECK. 2021-05-09 01:00:02 +03:00
levlam
6baf923f07 Fix handling of left dialogs, which are still pinned in filters. 2021-05-09 00:31:43 +03:00
levlam
9c49e6a625 Log versions on Td instance creation. 2021-05-07 20:52:54 +03:00
levlam
7dbee21918 Fix sending of updateGroupCallParticipant in some rare cases. 2021-05-07 02:10:37 +03:00
Joshua M. Clulow
ed291840d3
add illumos support (#1501) 2021-04-29 16:40:08 +03:00
levlam
75e593fd51 Return errors with code 400 from FileManager::from_persistent_id. 2021-04-29 16:04:04 +03:00
levlam
b48421a7a1 Resplit splittable entities before sending them to the server. 2021-04-28 22:10:39 +03:00
levlam
b659909b1c Use generic variant operator== to compare PhotoSizeSource. 2021-04-15 21:24:55 +03:00
levlam
cba755d185 Fix handling of pre-initialization requests in Decrypt state. 2021-04-15 21:07:05 +03:00
levlam
5bd0c2c46d Update version to 1.7.4. 2021-04-14 15:20:44 +03:00
levlam
b262ec809f Don't get group calls from the server by bots. 2021-04-14 14:59:22 +03:00
levlam
3c81a4efef Fix reply_to_message_id in service messages. 2021-04-14 14:54:09 +03:00
levlam
6b0637f402 Disallow messageInvoice copying. 2021-04-13 17:40:09 +03:00
levlam
a78fe2dfe5 Don't drop recently valid auth keys. 2021-04-13 16:52:41 +03:00
levlam
f8d6d0ecd3 Improve suggested_tip_amounts checks. 2021-04-13 16:23:18 +03:00
levlam
7e9818f5c1 Remove invoices and games from inline query results in unallowed chats. 2021-04-13 03:32:57 +03:00
levlam
20096b3bb1 Add check that invoice message has Pay button. 2021-04-13 03:05:02 +03:00
levlam
7dbe720fdc Move can_send_message_content to MessageContent.cpp. 2021-04-13 02:59:33 +03:00
levlam
025bd370c6 Disallow joined_date == 0 for non-leaving group call participants. 2021-04-13 02:33:02 +03:00
levlam
b7d993c477 Remove groupCall.can_self_unmute in favor of groupCallParticipant fields. 2021-04-13 01:58:40 +03:00
levlam
2ddeead75f Save expected active group call ID. 2021-04-12 02:49:28 +03:00
levlam
47a7bc05e2 Use service messages to synchronize active group call state. 2021-04-11 05:37:53 +03:00
levlam
4b212b0728 Restore correct can_* flags after failed mute/unmute. 2021-04-11 03:39:30 +03:00
levlam
c87acefd56 Use correct group call participant ID for self. 2021-04-11 02:37:01 +03:00
levlam
a54fa0909b Improve updates on group call leaving. 2021-04-09 18:50:07 +03:00
levlam
3786033316 Add minithumbnails to userProfilePhoto and chatPhotoInfo. 2021-04-09 17:01:58 +03:00
levlam
969b52cc82 Minor improvements. 2021-04-09 02:35:50 +03:00
levlam
338e4085d5 Improve scheduled voice chats documentation. 2021-04-09 02:29:27 +03:00
levlam
441dd127b3 Set alpha channel in payment form theme. 2021-04-08 16:13:21 +03:00
levlam
fbb15a9925 Remove invoice_chat_id/invoice_message_id from messagePaymentSuccessfulBot, because they are incompatible with inline mode. 2021-04-07 22:58:40 +03:00
levlam
5d5f950d2b Support themes in getPaymentForm. 2021-04-07 22:49:09 +03:00
levlam
37cee0d823 Add td_api::setVoiceChatDefaultParticipant. 2021-04-07 16:25:29 +03:00
levlam
4aa5df26bc Use participant_id instead of participant/participant_alias for group call participant identifiers. 2021-04-07 03:30:26 +03:00
levlam
10bc074a1e Support subscription to group call start notification. 2021-04-07 03:04:56 +03:00
levlam
a7c34c5c49 Add td_api::startScheduledGroupCall. 2021-04-07 02:11:14 +03:00
levlam
ef93bde7a2 Allow to send inputMessageInvoice without start_parameter. 2021-04-07 01:43:47 +03:00
levlam
49fecf40e6 Add groupCall.scheduled_start_date. 2021-04-06 12:08:47 +03:00
levlam
2241058f85 Allow to create scheduled voice chats. 2021-04-06 02:54:55 +03:00
levlam
02fe7e47e6 Allow to specify title of created voice chats. 2021-04-06 02:13:57 +03:00
levlam
47066bbffb Take into account raised hands when sorting group call participants for non-muted users. 2021-04-06 01:48:41 +03:00
levlam
b9faeb92d0 Add seller and provider IDs to td_api::paymentForm. 2021-04-06 01:16:57 +03:00
levlam
5d0561ff7a Improve payment receipt. 2021-04-06 01:00:31 +03:00
levlam
bb1b82731e Add messageVoiceChatScheduled. 2021-04-06 00:24:05 +03:00
levlam
3f1e91e7f4 Support invoice receipts in another chats. 2021-03-31 15:36:25 +03:00