Skip to content

Commit

Permalink
Fixes Not receiving notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii Matrunchyk committed Jul 31, 2017
1 parent 2e0b5c1 commit 238eb22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/event-formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class EventFormatter {
*/
format(event: string): string {
if (event.charAt(0) === '.' || event.charAt(0) === '\\') {
return event.substr(1);
event = event.substr(1);
} else if (this.namespace) {
event = this.namespace + '.' + event;
}
Expand Down

0 comments on commit 238eb22

Please sign in to comment.