]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/community.tsx
Adding support for join messages. Fixes #8
[lemmy-ui.git] / src / shared / components / community.tsx
index 7deb62b7332792c40c2ce2203dd1f57893c26394..b76a21655412b5f5ae300a9576acd96221883a21 100644 (file)
@@ -425,6 +425,9 @@ export class Community extends Component<any, State> {
         this.state.loading = false;
       }
       this.setState(this.state);
+      WebSocketService.Instance.communityJoin({
+        community_id: data.community.id,
+      });
     } else if (
       res.op == UserOperation.EditCommunity ||
       res.op == UserOperation.DeleteCommunity ||