summaryrefslogtreecommitdiffstats
path: root/ui/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/services')
-rw-r--r--ui/src/services/WebSocketService.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/src/services/WebSocketService.ts b/ui/src/services/WebSocketService.ts
index f5d5b513..ac465b22 100644
--- a/ui/src/services/WebSocketService.ts
+++ b/ui/src/services/WebSocketService.ts
@@ -25,6 +25,8 @@ import {
Site,
UserView,
GetRepliesForm,
+ GetUserMentionsForm,
+ EditUserMentionForm,
SearchForm,
UserSettingsForm,
DeleteAccountForm,
@@ -222,6 +224,16 @@ export class WebSocketService {
this.subject.next(this.wsSendWrapper(UserOperation.GetReplies, form));
}
+ public getUserMentions(form: GetUserMentionsForm) {
+ this.setAuth(form);
+ this.subject.next(this.wsSendWrapper(UserOperation.GetUserMentions, form));
+ }
+
+ public editUserMention(form: EditUserMentionForm) {
+ this.setAuth(form);
+ this.subject.next(this.wsSendWrapper(UserOperation.EditUserMention, form));
+ }
+
public getModlog(form: GetModlogForm) {
this.subject.next(this.wsSendWrapper(UserOperation.GetModlog, form));
}