mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-02-20 11:42:36 +01:00
Merge branch 'main' of https://git.krews.org/nitro/nitro-renderer
This commit is contained in:
commit
d5648dc7e8
@ -78,7 +78,6 @@ export class IncomingHeader
|
||||
public static MESSENGER_REQUEST = 2219;
|
||||
public static MESSENGER_REQUEST_ERROR = 892;
|
||||
public static MESSENGER_REQUESTS = 280;
|
||||
public static MESSENGER_ROOM_INVITE = 3870;
|
||||
public static MESSENGER_SEARCH = 973;
|
||||
public static MESSENGER_UPDATE = 2800;
|
||||
public static MODERATION_REPORT_DISABLED = 1651;
|
||||
|
@ -1,12 +1,12 @@
|
||||
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
|
||||
|
||||
export class SendRoomInviteComposer implements IMessageComposer<ConstructorParameters<typeof SendRoomInviteComposer>>
|
||||
export class SendRoomInviteComposer implements IMessageComposer<any>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof SendRoomInviteComposer>;
|
||||
private _data: any;
|
||||
|
||||
constructor(message: string, ...userIds: number[])
|
||||
constructor(message: string, userIds: number[])
|
||||
{
|
||||
this._data = [ message, userIds.length, ...userIds ];
|
||||
this._data = [ userIds.length, ...userIds, message ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
@ -18,4 +18,4 @@ export class SendRoomInviteComposer implements IMessageComposer<ConstructorParam
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user