mirror of
https://github.com/discourse/discourse.git
synced 2025-02-12 22:34:57 +00:00
275849771f
e.g. ``` presenceChannel = this.presence.getChannel('/blah'); presenceChannel.subscribe(); presenceChannel.on('change', (channel) => console.log(channel.users)); ``` This commit also does some refactoring to remove the use of an unnecessary EmberObject and dynamic `defineProperty` call