summaryrefslogtreecommitdiffstats
path: root/ui/src/services/WebSocketService.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/services/WebSocketService.ts')
-rw-r--r--ui/src/services/WebSocketService.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/src/services/WebSocketService.ts b/ui/src/services/WebSocketService.ts
index c8cc9557..79f6750a 100644
--- a/ui/src/services/WebSocketService.ts
+++ b/ui/src/services/WebSocketService.ts
@@ -52,6 +52,11 @@ export class WebSocketService {
this.subject.next(this.wsSendWrapper(UserOperation.ListCommunities, data));
}
+ public getFollowedCommunities() {
+ let data = {auth: UserService.Instance.auth };
+ this.subject.next(this.wsSendWrapper(UserOperation.GetFollowedCommunities, data));
+ }
+
public listCategories() {
this.subject.next(this.wsSendWrapper(UserOperation.ListCategories, undefined));
}