mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
remove the note about fixme, it looks telegram fixed it from the server side
This commit is contained in:
@@ -356,7 +356,6 @@ class MTProtoIntermediateFrameStreamReader(LayeredStreamReaderBase):
|
||||
class MTProtoIntermediateFrameStreamWriter(LayeredStreamWriterBase):
|
||||
def write(self, data, extra={}):
|
||||
if extra.get("SIMPLE_ACK"):
|
||||
# fixme: it seems the connection on android closes here
|
||||
return self.upstream.write(data)
|
||||
else:
|
||||
return self.upstream.write(int.to_bytes(len(data), 4, 'little') + data)
|
||||
|
||||
Reference in New Issue
Block a user