Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

Add docs to groups.addAll endpoint and activeUsersOnly param.#265

Merged
engelgabriel merged 3 commits into
RocketChat:masterfrom
nathanmarcos:new-groups-endpoint-docs
Mar 29, 2017
Merged

Add docs to groups.addAll endpoint and activeUsersOnly param.#265
engelgabriel merged 3 commits into
RocketChat:masterfrom
nathanmarcos:new-groups-endpoint-docs

Conversation

@nathanmarcos

Copy link
Copy Markdown
Contributor

| Argument | Example | Required | Description |
| :--- | :--- | :--- | :--- |
| `roomId` | `ByehQjC44FwMeiLbX` | Required | The channel's id |
| `activeUsersOnly` | `true` | Optional <br> Default: `undefined` | Add active users only |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically it is undefined, but for sake of understanding that the default is false what about changing this to false? Since your code to add this only checks if the value equals true?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally agreed! I'll make the changes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@graywolf336 graywolf336 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the change, think you can edit the "Change Log" at the bottom of the pages? We can just assume the next version and if it doesn't make it by then, we'll just update it to the correct version.

@graywolf336 graywolf336 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again! 👍

@engelgabriel engelgabriel merged commit 52ad334 into RocketChat:master Mar 29, 2017
@nathanmarcos nathanmarcos deleted the new-groups-endpoint-docs branch March 16, 2018 15:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants