mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix method signature
This commit is contained in:
parent
ce40309c54
commit
e70ac49311
@ -26,7 +26,7 @@ private final class UnauthorizedUpdateMessageService: NSObject, MTMessageService
|
|||||||
self.pipe.putNext(updates)
|
self.pipe.putNext(updates)
|
||||||
}
|
}
|
||||||
|
|
||||||
func mtProto(_ mtProto: MTProto!, receivedMessage message: MTIncomingMessage!, authInfoSelector: MTDatacenterAuthInfoSelector) {
|
func mtProto(_ mtProto: MTProto!, receivedMessage message: MTIncomingMessage!, authInfoSelector: MTDatacenterAuthInfoSelector, networkType: Int32) {
|
||||||
if let updates = (message.body as? BoxedMessage)?.body as? Api.Updates {
|
if let updates = (message.body as? BoxedMessage)?.body as? Api.Updates {
|
||||||
self.addUpdates(updates)
|
self.addUpdates(updates)
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ class UpdateMessageService: NSObject, MTMessageService {
|
|||||||
self.pipe.putNext(groups)
|
self.pipe.putNext(groups)
|
||||||
}
|
}
|
||||||
|
|
||||||
func mtProto(_ mtProto: MTProto!, receivedMessage message: MTIncomingMessage!, authInfoSelector: MTDatacenterAuthInfoSelector) {
|
func mtProto(_ mtProto: MTProto!, receivedMessage message: MTIncomingMessage!, authInfoSelector: MTDatacenterAuthInfoSelector, networkType: Int32) {
|
||||||
if let updates = (message.body as? BoxedMessage)?.body as? Api.Updates {
|
if let updates = (message.body as? BoxedMessage)?.body as? Api.Updates {
|
||||||
self.addUpdates(updates)
|
self.addUpdates(updates)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user