Merge remote-tracking branch 'origin/metadataScriptingApi' into metadataScriptingApi

This commit is contained in:
GRL 2021-05-28 12:13:25 +02:00
commit 276b404dd9
2 changed files with 5 additions and 5 deletions

View File

@ -177,9 +177,9 @@ export class RoomConnection implements RoomConnection {
} else if (message.hasWorldfullmessage()) {
worldFullMessageStream.onMessage();
this.closed = true;
} else if (message.hasWorldconnexionmessage()) {
worldFullMessageStream.onMessage(message.getWorldconnexionmessage()?.getMessage());
this.closed = true;
} else if (message.hasWorldconnexionmessage()) {
worldFullMessageStream.onMessage(message.getWorldconnexionmessage()?.getMessage());
this.closed = true;
} else if (message.hasWebrtcsignaltoclientmessage()) {
this.dispatch(EventMessage.WEBRTC_SIGNAL, message.getWebrtcsignaltoclientmessage());
} else if (message.hasWebrtcscreensharingsignaltoclientmessage()) {
@ -617,7 +617,7 @@ export class RoomConnection implements RoomConnection {
this.socket.send(clientToServerMessage.serializeBinary().buffer);
}
public getAllTag() : string[] {
public getAllTags() : string[] {
return this.tags;
}
}

View File

@ -923,7 +923,7 @@ ${escapedMessage}
uuid: localUserStore.getLocalUser()?.uuid,
nickname: localUserStore.getName(),
roomId: this.RoomId,
tags: this.connection ? this.connection.getAllTag() : []
tags: this.connection ? this.connection.getAllTags() : []
})
}));