Commit Graph

267 Commits

Author SHA1 Message Date
levlam
6855704b52 Better AuthManager storers and parsers.
GitOrigin-RevId: 20e1e7ed3591d1f99c0661164360822dd6d0b3e6
2018-03-14 22:47:08 +03:00
levlam
c9a9e386e5 Check message content type in on_get_recent_locations.
GitOrigin-RevId: 50f343e2f8a6e023b50d57663a4b7f27e6f4088c
2018-03-14 21:57:04 +03:00
levlam
23cd9f656f Fix warning.
GitOrigin-RevId: 220da64c77eb25f99fa620ff72065a31d0674117
2018-03-14 21:48:36 +03:00
levlam
0b54ca677b Better cancel_user_dialog_action.
GitOrigin-RevId: f7b9518af4f98a2f36bece905b6a2e7222cda28c
2018-03-14 21:36:28 +03:00
Arseny Smirnov
85d10e91c3 Store in db AuthManager in state WaitCode
GitOrigin-RevId: 06df8525c60f4de347c694e8c212a138c151ac4c
2018-03-14 21:04:41 +03:00
levlam
c10ac96cc9 Various fixes.
GitOrigin-RevId: 3880e2fc5b8704f163817699ec1043f2f7a39b83
2018-03-14 17:43:00 +03:00
levlam
9a4617fee3 Add IPv6 DC addresses.
GitOrigin-RevId: 03f79d00d679869d42c5557586e0af2a72b62a23
2018-03-14 15:27:55 +03:00
Arseny Smirnov
7504f81b72 tg_cli: fix send document command
GitOrigin-RevId: 9f210b4d1080c8aa2cafb7a53b073d191edaf35e
2018-03-13 19:10:26 +03:00
Arseny Smirnov
600bbcf3ca Protect G()->td_db() usage in AuthDataShared with guard
GitOrigin-RevId: d9e8a79c9db9b061de81f98fcd66f085d4efcaaa
2018-03-13 16:40:02 +03:00
levlam
52f45abf65 Handle chatAction timeouts.
GitOrigin-RevId: acd087bf97f6ff39af8111b1c8d984f72f041467
2018-03-13 20:48:08 +03:00
levlam
8eaea5d4af Send updateUserChatAction from on_user_dialog_action.
GitOrigin-RevId: 6af5402efa9ac21b9054278c839d982b4fbdcb6e
2018-03-13 11:57:58 +03:00
levlam
86666a8418 Cancel previous setEncryptedTyping query.
GitOrigin-RevId: dcebab6bae15c25def5f7c6bc15f03fffea66ef4
2018-03-13 11:08:56 +03:00
levlam
62e1f418e2 Fix inline query type detection.
GitOrigin-RevId: 09dda10c23f587efb790237d5e50009c1a10a599
2018-03-13 02:12:51 +03:00
levlam
d9e76824ab Fix CE.
GitOrigin-RevId: e271b99a124cfdac7a15e78d50594402bcdc75a4
2018-03-13 01:21:41 +03:00
levlam
85c2cc160d Add textEntityTypePhoneNumber.
GitOrigin-RevId: b8705ec13104848c5ae0597aee6cf4e6f41762db
2018-03-13 00:17:29 +03:00
levlam
c489e3b91d Automatically send ChatAction while files are uploaded.
GitOrigin-RevId: 45c27ab71ede8c0f82265b34b752e03ffc1c1c8c
2018-03-12 23:33:56 +03:00
levlam
8b2df8c233 Add new get_simple_config URL.
GitOrigin-RevId: 911173a3eb4756590745adafb9e10fdbe741f105
2018-03-12 21:04:03 +03:00
levlam
1dd2e28551 Fix C++/CLI.
GitOrigin-RevId: fd48669cdc54fafa3475dbd1aa6ab7cd49055a23
2018-03-11 23:49:38 +03:00
levlam
3823aa73e8 Fix error code.
GitOrigin-RevId: b91a357cd115be02df17a141d2c7627ad1e4f4d2
2018-03-10 17:52:27 +03:00
levlam
96f720063a Fix duplicated userStatusOffline updates.
GitOrigin-RevId: a3086638e2550297c58e7913a081d423ac2d03ed
2018-03-10 17:23:43 +03:00
levlam
6f1f64c892 Better local online status update.
GitOrigin-RevId: 941945d3e0b366e4fcd1ed7712f388422968cd28
2018-03-10 17:10:23 +03:00
levlam
7cb577dd6f Cancel previous update status queries.
GitOrigin-RevId: fcf23cf66267327faae001c69fa773cff84f4e88
2018-03-10 14:41:59 +03:00
levlam
6422e77e15 Load installed sticker sets before changing sticker set.
GitOrigin-RevId: f4794d3c65327aa173030f6e53aaccc23875aff0
2018-03-10 14:15:23 +03:00
levlam
2a58cfd1b9 Add td_api::searchStickers method.
GitOrigin-RevId: e9615b7e2cdab0b7419f6cfbbf2289787233a693
2018-03-09 20:04:44 +03:00
levlam
a4fe4c93b3 New stickers by empji suggestions.
GitOrigin-RevId: 6396bb77310fc86cec1cb6d4fd13b5e782ffd7a3
2018-03-09 18:00:07 +03:00
levlam
88ad4a370c Sort wallpapers by size.
GitOrigin-RevId: 497dc15ea3f6b8c5cd0bc0f2e6ce65a338d19b90
2018-03-09 16:56:42 +03:00
levlam
9633b50112 Postpone authorizationStateReady if my_id isn't known.
GitOrigin-RevId: afa8d365f527672dc53424b03fff775a28569189
2018-03-09 04:17:38 +03:00
levlam
9fb92d8293 Restore unknown my_id in AuthManager.
GitOrigin-RevId: 00463e66676aba887ef3c12c7d8225ef224c0bc0
2018-03-09 03:52:12 +03:00
levlam
8ae5083073 Better getMe.
GitOrigin-RevId: 31a9ceaa4727f74ef30cd95a44c2520249fea10b
2018-03-09 03:27:39 +03:00
levlam
5986bb7df0 Send updateOption("my_id") before authorizationStateReady.
GitOrigin-RevId: 73fdce38a87ffb6fcea8bfa8b059f83dcd510007
2018-03-09 00:42:25 +03:00
levlam
b9b35ebe0a Better suggeste_name for thumbnails and profile photos.
GitOrigin-RevId: 4313c9677fcdc07131d19be36ba66fdb137558df
2018-03-08 23:12:31 +03:00
levlam
b314311c4d Fix documents store.
GitOrigin-RevId: 30b2ee3f1df1a49f4ad4f7715e549da885776ddf
2018-03-08 22:43:12 +03:00
levlam
76de8f374e Preserve remote_id in update_message_content.
GitOrigin-RevId: 136c7a391374a54d1e1c5afac5b68d986c9c7001
2018-03-08 22:01:24 +03:00
levlam
ab9ce52e5c Update remote_id in FileId list if possible.
GitOrigin-RevId: 3c42e3947ee454b786213e681e39220ab0fdccfe
2018-03-08 21:04:28 +03:00
levlam
a25cfc3e06 Fix is_bot.
GitOrigin-RevId: ac6909ef9ed31bfb7b4b34d015f54a7d6e97c3e2
2018-03-08 20:35:23 +03:00
levlam
6afacdd23f Do not return self in getTopChats.
GitOrigin-RevId: 3ec9d54dbe42447f15ae25fad9e9e8e438af36e8
2018-03-08 18:21:40 +03:00
levlam
c2dbb601cf Fix process_config.
GitOrigin-RevId: ea657dfc621fdf13a1641377a2bef6ddd396172a
2018-03-08 18:01:45 +03:00
levlam
34f6fd8942 Ensure that list size limit isn't exceeded.
GitOrigin-RevId: eded5582f4828928ca37fe64cde6c58fb469242c
2018-03-08 17:17:53 +03:00
levlam
6669bd8c7b Support for recent_stickers_limit.
GitOrigin-RevId: f49119eb0703bb03e7c564a4f90a1f91f9c6074b
2018-03-08 16:49:45 +03:00
levlam
ae319fa10b Cashtag support.
GitOrigin-RevId: c1e55687ce0c977635b77b48940bc6cc0735e02e
2018-03-08 16:28:54 +03:00
levlam
a665c4e822 Implement find_cashtags.
GitOrigin-RevId: 40026a19c1ee1f1ea9c0157d28bdc0b67cbf9c58
2018-03-07 20:29:33 +03:00
Arseny Smirnov
81776db03a Enumerator: do not invalidate pointers to elements
GitOrigin-RevId: 0d535d7052b9cb95365eff4bf35ddf30966ec90f
2018-03-07 10:47:33 +03:00
levlam
8b0cce1610 Re-enable sent file merge when only FileType changes.
GitOrigin-RevId: 728228d2397097ae1aaf68ce062c0cdd21fa0176
2018-03-07 02:41:40 +03:00
levlam
c35bc1c0fc Remove now unsafe FileId constructors.
GitOrigin-RevId: eb3e37f4056ff6b967e4fd3d9b310fdc0e7602a1
2018-03-07 02:37:39 +03:00
levlam
f041bf4cc8 Fix field name and remove unused field.
GitOrigin-RevId: 81c8488f44562536a01deb365e3901b052131d54
2018-03-07 02:23:09 +03:00
levlam
032aed823a Fix file list hash calculation.
GitOrigin-RevId: e39474ebdc128079f65a4e2d97ecc4b0a8419c22
2018-03-07 02:02:49 +03:00
Arseny Smirnov
fce5219334 Bugfix
GitOrigin-RevId: 286be7360a01e39ae199d7980ca7465381aa0261
2018-03-06 21:52:21 +03:00
Arseny Smirnov
312ccd7cbd Store remote location with FileId
GitOrigin-RevId: 43ff47088a5675df95427a610427a9908707392f
2018-03-06 21:31:20 +03:00
levlam
41bd7c7428 Various fixes.
GitOrigin-RevId: e96c9e6f8f159f91ec31288e36edfb5869603341
2018-03-06 19:27:52 +03:00
Arseny Smirnov
d52c3ee3f9 Temporary turn off getFileHashes
GitOrigin-RevId: 0f5d3164c22e4602cc63e5d4476d6d906b549bb2
2018-02-28 11:01:57 +03:00