We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfdcfe6 commit 215c729Copy full SHA for 215c729
src/pages/docs/guides/chat/bring-own-database.mdx
@@ -35,7 +35,7 @@ After performing the decoding and you have a chat `Message` object, you can:
35
<Code>
36
```javascript
37
const saveOrUpdateMessage = (message) => {
38
- // Check if the message already exists by `serial`
+ // Check if the message already exists in your own database by `serial`
39
const existingMessage = await getMessageBySerial(message.serial);
40
if (!existingMessage) {
41
// message not yet in your database => save it
0 commit comments