FIX: receiving staticEvents messages (#181)

* FIX: receiving staticEvents messages
* return space :)
This commit is contained in:
Nikita Umnov 2019-01-25 13:20:17 +07:00 committed by Metin Seylan
parent fb8e1f96c1
commit 4322054bfd
2 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -38,7 +38,7 @@ export default class VueSocketIOListenler {
this.onEvent(event, args)
};
VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, () => this.onEvent(event)))
VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, args => this.onEvent(event, args)))
}
/**