mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: fix message category
This commit is contained in:
1 parent
700de4fc9d
commit
8bb268846e
1 file changed
+1
-2
@@ -363,8 +363,6 @@ class HomeDomainCreateHandler extends Handler {
|
||||
}
|
||||
|
||||
class HomeMessagesHandler extends Handler {
|
||||
category = '#message';
|
||||
|
||||
async get() {
|
||||
// TODO(iceboy): projection, pagination.
|
||||
const messages = await message.getByUser(this.user._id);
|
||||
@@ -421,6 +419,7 @@ class HomeMessagesHandler extends Handler {
|
||||
}
|
||||
|
||||
class HomeMessagesConnectionHandler extends ConnectionHandler {
|
||||
category = '#message';
|
||||
dispose: bus.Disposable;
|
||||
|
||||
async prepare() {
|
||||
|
||||
Reference in new issue
Block a user