Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EDU-1706] Chat post-release fixes #2381

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/chat/rooms/index.textile
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,14 @@ Releasing a room may be optional for many applications. If you have multiple tra
blang[javascript,swift,kotlin].
Once <span lang="javascript">"@rooms.release()@":https://sdk.ably.com/builds/ably/ably-chat-js/main/typedoc/interfaces/chat-js.Rooms.html#release</span><span lang="swift">"@rooms.release()@":https://sdk.ably.com/builds/ably/ably-chat-swift/main/AblyChat/documentation/ablychat/rooms/release%28roomid%3A%29</span><span lang="kotlin">"@rooms.release()@":https://sdk.ably.com/builds/ably/ably-chat-kotlin/main/dokka/chat-android/com.ably.chat/-rooms/release.html</span> has been called, the room will be unusable and a new instance will need to be created using "@rooms.get()@":#create if you want to reuse it.

blang[react].

blang[javascript].
Note that any unresolved promises from @rooms.get()@ will be rejected when @rooms.release()@ is called.

blang[react,swift,kotlin].

blang[javascript,swift,kotlin].
```[javascript]
await rooms.release('basketball-stream');
```
Expand Down
2 changes: 1 addition & 1 deletion data/yaml/page-content/chat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sections:
releaseStage: ''
callToAction:
text: View setup instructions
href: '/chat/setup'
href: 'docs/chat/setup'
type: link
- title: Demo
description: Take a look at a livestream chat demo for an example of what you can build with Ably Chat.
Expand Down