mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
DEV: Move discourse-chat
to the core repo. (#18776)
As part of this move, we are also renaming `discourse-chat` to `chat`.
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
import EmberObject from "@ember/object";
|
||||
|
||||
export default class MockPresenceChannel extends EmberObject {
|
||||
users = [];
|
||||
name = null;
|
||||
subscribed = false;
|
||||
|
||||
async unsubscribe() {
|
||||
this.set("subscribed", false);
|
||||
}
|
||||
|
||||
async subscribe() {
|
||||
this.set("subscribed", true);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user