Feat: Chat (#15686)
* wip
* wip
* wip
* wip
* wip
* wip
* Update types.ts
* Create 1742203321812-chat.js
* wip
* wip
* Update room.vue
* Update home.vue
* Update home.vue
* Update ja-JP.yml
* Update index.d.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
* wip
* Update home.vue
* clean up
* Update misskey-js.api.md
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* lint fixes
* lint
* Update UserEntityService.ts
* search
* wip
* 🎨
* wip
* Update home.ownedRooms.vue
* wip
* Update CHANGELOG.md
* Update style.scss
* wip
* improve performance
* improve performance
* Update timeline.test.ts
This commit is contained in:
@@ -83,8 +83,8 @@ const mainChannel = stream.useChannel('main');
|
||||
``` ts
|
||||
const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });
|
||||
|
||||
const messagingChannel = stream.useChannel('messaging', {
|
||||
otherparty: 'xxxxxxxxxx',
|
||||
const chatChannel = stream.useChannel('chat', {
|
||||
other: 'xxxxxxxxxx',
|
||||
});
|
||||
```
|
||||
|
||||
@@ -115,11 +115,11 @@ mainChannel.on('notification', notification => {
|
||||
|
||||
``` ts
|
||||
const stream = new Misskey.Stream('https://misskey.test', { token: 'TOKEN' });
|
||||
const messagingChannel = stream.useChannel('messaging', {
|
||||
otherparty: 'xxxxxxxxxx',
|
||||
const chatChannel = stream.useChannel('chat', {
|
||||
other: 'xxxxxxxxxx',
|
||||
});
|
||||
|
||||
messagingChannel.send('read', {
|
||||
chatChannel.send('read', {
|
||||
id: 'xxxxxxxxxx'
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user