Skip to content

Commit

Permalink
streams: Create streams with additional properties.
Browse files Browse the repository at this point in the history
Allow creating streams while specifying is_web_public and
history_public_to_subscribers.
  • Loading branch information
Fingel committed Apr 1, 2022
1 parent 0f72935 commit b51a524
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/streams/CreateStreamScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export default function CreateStreamScreen(props: Props): Node {
description: settings.description,
principals: [ownEmail],
invite_only: settings.invite_only,
is_web_public: settings.is_web_public,
history_public_to_subscribers: settings.history_public_to_subscribers,
};
api.createStream(auth, params);
NavigationService.dispatch(navigateBack());
Expand Down

0 comments on commit b51a524

Please sign in to comment.