change default channel and user id for event messages according to new layout
This commit is contained in:
parent
516131c7a2
commit
5bfd1b58d2
|
@ -223,7 +223,7 @@ export class ChatProvider {
|
||||||
name,
|
name,
|
||||||
message,
|
message,
|
||||||
channelId: number = 1,
|
channelId: number = 1,
|
||||||
id = 0,
|
id = 1,
|
||||||
country: string = 'xx',
|
country: string = 'xx',
|
||||||
sendapi: boolean = true,
|
sendapi: boolean = true,
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -253,16 +253,16 @@ class APISocketServer extends WebSocketEvents {
|
||||||
chatProvider.broadcastChatMessage(
|
chatProvider.broadcastChatMessage(
|
||||||
chatname,
|
chatname,
|
||||||
msg,
|
msg,
|
||||||
0,
|
1,
|
||||||
0,
|
1,
|
||||||
'xx',
|
'xx',
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
this.broadcastChatMessage(
|
this.broadcastChatMessage(
|
||||||
chatname,
|
chatname,
|
||||||
msg,
|
msg,
|
||||||
0,
|
1,
|
||||||
0,
|
1,
|
||||||
'xx',
|
'xx',
|
||||||
true,
|
true,
|
||||||
ws,
|
ws,
|
||||||
|
@ -275,7 +275,7 @@ class APISocketServer extends WebSocketEvents {
|
||||||
name,
|
name,
|
||||||
msg,
|
msg,
|
||||||
channelId,
|
channelId,
|
||||||
0,
|
1,
|
||||||
country,
|
country,
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
|
@ -283,7 +283,7 @@ class APISocketServer extends WebSocketEvents {
|
||||||
name,
|
name,
|
||||||
msg,
|
msg,
|
||||||
channelId,
|
channelId,
|
||||||
0,
|
1,
|
||||||
country,
|
country,
|
||||||
true,
|
true,
|
||||||
ws,
|
ws,
|
||||||
|
|
|
@ -72,7 +72,7 @@ class WebSockets {
|
||||||
name: string,
|
name: string,
|
||||||
message: string,
|
message: string,
|
||||||
channelId: number = 1,
|
channelId: number = 1,
|
||||||
id: number = 0,
|
id: number = 1,
|
||||||
country: string = 'xx',
|
country: string = 'xx',
|
||||||
sendapi: boolean = true,
|
sendapi: boolean = true,
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user