diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-27 17:15:08 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-27 17:15:08 +0900 |
| commit | ae2267220bb743808bffaf9a33f3bc6eed75a5b1 (patch) | |
| tree | 1b80ebf04ee6f7f7f4ef6177e096b48efe162a67 /src/client/pages/messaging | |
| parent | Create SECURITY.md (diff) | |
| download | misskey-ae2267220bb743808bffaf9a33f3bc6eed75a5b1.tar.gz misskey-ae2267220bb743808bffaf9a33f3bc6eed75a5b1.tar.bz2 misskey-ae2267220bb743808bffaf9a33f3bc6eed75a5b1.zip | |
wip #7533
Diffstat (limited to 'src/client/pages/messaging')
| -rw-r--r-- | src/client/pages/messaging/index.vue | 2 | ||||
| -rw-r--r-- | src/client/pages/messaging/messaging-room.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/pages/messaging/index.vue b/src/client/pages/messaging/index.vue index 9f3323f629..832cce5ab9 100644 --- a/src/client/pages/messaging/index.vue +++ b/src/client/pages/messaging/index.vue @@ -63,7 +63,7 @@ export default defineComponent({ }, mounted() { - this.connection = os.stream.useSharedConnection('messagingIndex'); + this.connection = os.stream.useChannel('messagingIndex'); this.connection.on('message', this.onMessage); this.connection.on('read', this.onRead); diff --git a/src/client/pages/messaging/messaging-room.vue b/src/client/pages/messaging/messaging-room.vue index 44bfd6c51d..f1d55ee288 100644 --- a/src/client/pages/messaging/messaging-room.vue +++ b/src/client/pages/messaging/messaging-room.vue @@ -141,7 +141,7 @@ const Component = defineComponent({ this.group = group; } - this.connection = os.stream.connectToChannel('messaging', { + this.connection = os.stream.useChannel('messaging', { otherparty: this.user ? this.user.id : undefined, group: this.group ? this.group.id : undefined, }); |