Web: sync naming with backend
This commit is contained in:
parent
54f9b00e9d
commit
b5dff9967e
@ -221,7 +221,7 @@ const Members = ({
|
||||
if (isRoom && !isArchive) {
|
||||
onlineUsersSocket.emit({
|
||||
command: "subscribe",
|
||||
data: { roomParts: `${id}` },
|
||||
data: { roomPart: `${id}` },
|
||||
});
|
||||
console.log("open members for room " + id);
|
||||
}
|
||||
@ -230,7 +230,7 @@ const Members = ({
|
||||
if (isRoom && !isArchive) {
|
||||
onlineUsersSocket.emit({
|
||||
command: "unsubscribe",
|
||||
data: { roomParts: `${id}` },
|
||||
data: { roomPart: `${id}` },
|
||||
});
|
||||
console.log("close members for room " + id);
|
||||
}
|
||||
|
@ -215,7 +215,7 @@ class SelectedFolderStore {
|
||||
onlineUsersSocket.emit({
|
||||
command: "enter",
|
||||
data: {
|
||||
roomParts: `${roomId}`,
|
||||
roomPart: `${roomId}`,
|
||||
},
|
||||
});
|
||||
console.log(`enter room: ${roomId}`);
|
||||
@ -226,7 +226,7 @@ class SelectedFolderStore {
|
||||
onlineUsersSocket.emit({
|
||||
command: "leave",
|
||||
data: {
|
||||
roomParts: `${roomId}`,
|
||||
roomPart: `${roomId}`,
|
||||
},
|
||||
});
|
||||
console.log(`leave room: ${roomId}`);
|
||||
|
@ -828,7 +828,7 @@ class SettingsStore {
|
||||
const socketUrl =
|
||||
this.isPublicRoom && !this.publicRoomKey ? null : this.socketUrl;
|
||||
|
||||
return new SocketIOHelper(socketUrl, this.publicRoomKey, "/onlineUsers");
|
||||
return new SocketIOHelper(socketUrl, this.publicRoomKey, "/onlineusers");
|
||||
}
|
||||
|
||||
getBuildVersionInfo = async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user