Merge branch 'develop' of github.com:thecodingmachine/workadventure into e2e_reconnect_tests

This commit is contained in:
David Négrier 2021-12-06 18:07:47 +01:00
commit c27662c315
51 changed files with 1894 additions and 1710 deletions

View file

@ -100,11 +100,11 @@ export class PusherRoom {
// Let's dispatch this variable to all the listeners
for (const listener of this.listeners) {
const subMessage = new SubMessage();
if (!readableBy || listener.tags.includes(readableBy)) {
const subMessage = new SubMessage();
subMessage.setVariablemessage(variableMessage);
listener.emitInBatch(subMessage);
}
listener.emitInBatch(subMessage);
}
} else if (message.hasErrormessage()) {
const errorMessage = message.getErrormessage() as ErrorMessage;