This commit is expanding on previous work making everything chat working through an URL. Improves drawer templates to be all URLs Implements some kind of router for the drawer Removes few remaining actions for opening channels
12 lines
268 B
JavaScript
12 lines
268 B
JavaScript
import Controller from "@ember/controller";
|
|
import { inject as service } from "@ember/service";
|
|
|
|
export default class ChatChannelController extends Controller {
|
|
@service chat;
|
|
|
|
targetMessageId = null;
|
|
|
|
// Backwards-compatibility
|
|
queryParams = ["messageId"];
|
|
}
|