fix mobile bugs
This commit is contained in:
parent
1e61ccb19a
commit
3f4335ecb4
@ -516,6 +516,8 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
|||||||
});
|
});
|
||||||
const remapReadStateIdsTime = taskSw.getElapsedAndReset();
|
const remapReadStateIdsTime = taskSw.getElapsedAndReset();
|
||||||
|
|
||||||
|
(user.settings as any).guild_positions = [];
|
||||||
|
|
||||||
const d: ReadyEventData = {
|
const d: ReadyEventData = {
|
||||||
v: 9,
|
v: 9,
|
||||||
application: application ? { id: application.id, flags: application.flags } : undefined,
|
application: application ? { id: application.id, flags: application.flags } : undefined,
|
||||||
|
|||||||
@ -249,7 +249,7 @@ export async function onLazyRequest(this: WebSocket, { d }: Payload) {
|
|||||||
if (!channels) return;
|
if (!channels) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!channels) throw new Error("Must provide channel ranges");
|
if (!channels) /*throw new Error("Must provide channel ranges")*/ return;
|
||||||
|
|
||||||
const channel_id = Object.keys(channels || {})[0];
|
const channel_id = Object.keys(channels || {})[0];
|
||||||
if (!channel_id) return;
|
if (!channel_id) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user