Merge branch 'develop' of github.com:thecodingmachine/workadventure
This commit is contained in:
commit
1e86ba3613
@ -104,12 +104,12 @@ export class PusherRoom {
|
|||||||
|
|
||||||
// Let's dispatch this variable to all the listeners
|
// Let's dispatch this variable to all the listeners
|
||||||
for (const listener of this.listeners) {
|
for (const listener of this.listeners) {
|
||||||
const subMessage = new SubMessage();
|
|
||||||
if (!readableBy || listener.tags.includes(readableBy)) {
|
if (!readableBy || listener.tags.includes(readableBy)) {
|
||||||
|
const subMessage = new SubMessage();
|
||||||
subMessage.setVariablemessage(variableMessage);
|
subMessage.setVariablemessage(variableMessage);
|
||||||
}
|
|
||||||
listener.emitInBatch(subMessage);
|
listener.emitInBatch(subMessage);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else if (message.hasErrormessage()) {
|
} else if (message.hasErrormessage()) {
|
||||||
const errorMessage = message.getErrormessage() as ErrorMessage;
|
const errorMessage = message.getErrormessage() as ErrorMessage;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user