summaryrefslogtreecommitdiff
path: root/src/client/components/follow-button.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/components/follow-button.vue')
-rw-r--r--src/client/components/follow-button.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/follow-button.vue b/src/client/components/follow-button.vue
index 7199183c66..49bf678491 100644
--- a/src/client/components/follow-button.vue
+++ b/src/client/components/follow-button.vue
@@ -71,7 +71,7 @@ export default defineComponent({
},
mounted() {
- this.connection = os.stream.useSharedConnection('main');
+ this.connection = os.stream.useChannel('main');
this.connection.on('follow', this.onFollowChange);
this.connection.on('unfollow', this.onFollowChange);