tdesktop/Telegram/SourceFiles/mtproto
John Preston 6418c9c718 Handle updates from MTP after RPC responses.
If some RPC responses and MTP updates are received together a fake
requestId in the negative range was used and that way updates were
processed before responses.

That could lead to an incorrect "out" message flag when sending
messages to supergroups, because a broadcast update about the new
message without "out" flag was handled before the request response.

Now a separate response map and updates list are used and responses
are handled always before the updates.
2017-04-30 17:23:57 +03:00
..
auth_key.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
auth_key.h Closed beta 1000014001: fixed Xcode build. 2017-02-25 20:46:21 +03:00
connection.cpp Handle updates from MTP after RPC responses. 2017-04-30 17:23:57 +03:00
connection.h API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
connection_abstract.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
connection_abstract.h Some improvements in mtproto data processing. 2017-02-27 12:51:03 +03:00
connection_auto.cpp Fix AutoConnection::debugState() for TCP connections. Fix #3171 2017-03-30 18:20:51 +03:00
connection_auto.h Encapsulated DcOptions to an independent class. 2017-02-25 19:48:19 +03:00
connection_http.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
connection_http.h Ability to delete authorization keys added. 2017-02-25 19:48:22 +03:00
connection_tcp.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
connection_tcp.h Encapsulated DcOptions to an independent class. 2017-02-25 19:48:19 +03:00
core_types.cpp Make MTPstring and MTPvector value types. 2017-03-10 23:27:26 +03:00
core_types.h Handle updates from MTP after RPC responses. 2017-04-30 17:23:57 +03:00
dc_options.cpp API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
dc_options.h API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
dcenter.cpp API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
dcenter.h MTP global state moved to MTP::Instance class. 2017-02-25 19:48:21 +03:00
facade.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
facade.h API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
mtp_instance.cpp API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
mtp_instance.h API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
rpc_sender.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
rpc_sender.h Move ApiWrap to AuthSession. 2017-04-07 18:13:19 +03:00
rsa_public_key.cpp API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
rsa_public_key.h API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
sender.h API scheme updated to layer 66. 2017-04-12 22:36:25 +03:00
session.cpp Handle updates from MTP after RPC responses. 2017-04-30 17:23:57 +03:00
session.h Handle updates from MTP after RPC responses. 2017-04-30 17:23:57 +03:00