Changing callback signature of registerAnswerer so that it can return a value and not necessarily a promise.
This commit is contained in:
@@ -1045,14 +1045,14 @@ ${escapedMessage}
|
||||
);
|
||||
|
||||
iframeListener.registerAnswerer('getState', () => {
|
||||
return Promise.resolve({
|
||||
return {
|
||||
mapUrl: this.MapUrlFile,
|
||||
startLayerName: this.startPositionCalculator.startLayerName,
|
||||
uuid: localUserStore.getLocalUser()?.uuid,
|
||||
nickname: localUserStore.getName(),
|
||||
roomId: this.RoomId,
|
||||
tags: this.connection ? this.connection.getAllTags() : [],
|
||||
});
|
||||
};
|
||||
});
|
||||
this.iframeSubscriptionList.push(
|
||||
iframeListener.setTilesStream.subscribe((eventTiles) => {
|
||||
|
||||
Reference in New Issue
Block a user