mirror of https://github.com/NekoX-Dev/NekoX.git
Fix updater
This commit is contained in:
parent
d67c5c27b9
commit
d3ff18c668
|
@ -119,7 +119,7 @@ public class InternalUpdater {
|
||||||
}
|
}
|
||||||
TLRPC.TL_messages_getHistory req = new TLRPC.TL_messages_getHistory();
|
TLRPC.TL_messages_getHistory req = new TLRPC.TL_messages_getHistory();
|
||||||
req.peer = accountInstance.getMessagesController().getInputPeer(-CHANNEL_APKS_ID);
|
req.peer = accountInstance.getMessagesController().getInputPeer(-CHANNEL_APKS_ID);
|
||||||
req.offset_id = metadata.apkChannelMessageID;
|
req.min_id = metadata.apkChannelMessageID;
|
||||||
req.limit = MAX_READ_COUNT;
|
req.limit = MAX_READ_COUNT;
|
||||||
|
|
||||||
Runnable sendReq = () -> accountInstance.getConnectionsManager().sendRequest(req, (response, error) -> {
|
Runnable sendReq = () -> accountInstance.getConnectionsManager().sendRequest(req, (response, error) -> {
|
||||||
|
|
Loading…
Reference in New Issue