Skip to content

Commit cb09b72

Browse files
committed
docs: small fixes
1 parent 881cf05 commit cb09b72

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docusaurus/docs/Angular/components/EditMessageFormComponent.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ By default this is displayed within the [`stream-channel` component](../../compo
77
```typescript
88
constructor(private messageActionsService: MessageActionsService) {
99
// Open the modal
10-
this.messageActionsService.messageToEdit$(<stream message>);
10+
this.messageActionsService.messageToEdit$.next(<stream message>);
1111
// Close the modal
12-
this.messageActionsService.messageToEdit$(undefined);
12+
this.messageActionsService.messageToEdit$.next(undefined);
1313
}
1414
```
1515

docusaurus/docs/Angular/components/MessageBouncePromptComponent.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To bounce messages, you need to set up [semantic filters for moderation](https:/
88

99
To bounce messages, you need to set up [semantic filters for moderation](https://getstream.io/automated-moderation/docs/automod_configuration/?q=semantic%20filters).
1010

11-
When a user tries to send a message that voilates the content guidelines set up by the semantic filter the `StreamMessage` object will have the following format:
11+
When a user tries to send a message that voilates the content guidelines set up by a semantic filter the `StreamMessage` object will have the following format:
1212

1313
- `type` will be `error`
1414
- the `moderation_details` property will contain the details of the error
@@ -18,9 +18,9 @@ The built-in [message component](../../components/MessageComponent) will open th
1818
```typescript
1919
constructor(private channelService: ChannelService) {
2020
// Open the modal
21-
this.messageActionsService.bouncedMessage$(<stream message>);
21+
this.messageActionsService.bouncedMessage$.next(<stream message>);
2222
// Close the modal
23-
this.messageActionsService.bouncedMessage$(undefined);
23+
this.messageActionsService.bouncedMessage$.next(undefined);
2424
}
2525
```
2626

0 commit comments

Comments
 (0)