Permalink
Browse files

Cleanup namespaces

  • Loading branch information...
legastero committed Nov 6, 2018
1 parent cd49d4f commit 577806d0da2d7f6d4a271465196a0768a9c5d6fc
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/plugins/avatar.js
  2. +1 −1 src/plugins/geoloc.js
  3. +1 −1 src/plugins/reach.js
@@ -1,7 +1,7 @@
import { Namespaces } from '../protocol';
export default function(client) {
client.disco.addFeature(`${Namespaces.AVATAR_METADATA}+notify`);
client.disco.addFeature(Namespaces.PEP_NOTIFY(Namespaces.AVATAR_METADATA));
client.on('pubsub:event', function(msg) {
if (!msg.event.updated) {
@@ -2,7 +2,7 @@ import { Namespaces } from '../protocol';
export default function(client) {
client.disco.addFeature(Namespaces.GEOLOC);
client.disco.addFeature(`${Namespaces.GEOLOC}+notify`);
client.disco.addFeature(Namespaces.PEP_NOTIFY(Namespaces.GEOLOC));
client.on('pubsub:event', function(msg) {
if (!msg.event.updated) {
@@ -2,7 +2,7 @@ import { Namespaces } from '../protocol';
export default function(client) {
client.disco.addFeature(Namespaces.REACH_0);
client.disco.addFeature(`${Namespaces.REACH_0}+notify`);
client.disco.addFeature(Namespaces.PEP_NOTIFY(Namespaces.REACH_0));
client.on('pubsub:event', function(msg) {
if (!msg.event.updated) {

0 comments on commit 577806d

Please sign in to comment.