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

Add members settings #2788

Merged
merged 6 commits into from
Apr 28, 2024
Merged

Add members settings #2788

merged 6 commits into from
Apr 28, 2024

Conversation

GulgDev
Copy link
Contributor

@GulgDev GulgDev commented Feb 25, 2024

Added a function setAddMembersAdminsOnly.
The function sets who can add members to the group: either only admins or all the group members. If turned on, only the group admins can add others to the group.

GulgDev and others added 6 commits February 25, 2024 09:08

Verified

This commit was signed with the committer’s verified signature.
lukekarrys Luke Karrys

Verified

This commit was signed with the committer’s verified signature.
lukekarrys Luke Karrys

Verified

This commit was signed with the committer’s verified signature.
lukekarrys Luke Karrys

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link
Collaborator

@alechkos alechkos left a comment

Choose a reason for hiding this comment

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

Good job, thank you
Tested on WWeb v2.2412.54

@alechkos alechkos enabled auto-merge (squash) April 28, 2024 13:02
Copy link
Collaborator

@shirser121 shirser121 left a comment

Choose a reason for hiding this comment

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

Thanks!

@alechkos alechkos merged commit b99d28c into pedroslopez:main Apr 28, 2024
1 check passed
neekaru pushed a commit to KDevRev/whatsapp-web.js that referenced this pull request May 2, 2024
* Update GroupChat.js

* Update index.d.ts

* style: clarify method doc

* refactor: add additional check

* fix: provide valid error name

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
aleborile added a commit to Condo-AI/whatsapp-web.js that referenced this pull request Jun 14, 2024
* fix: logo link (pedroslopez#2994)

* fix: logo link

* fix: fix broken link in readme file

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* Update Client.js (pedroslopez#2813)

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* Add members settings (pedroslopez#2788)

* Update GroupChat.js

* Update index.d.ts

* style: clarify method doc

* refactor: add additional check

* fix: provide valid error name

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* Fix: delete lines that remove data from this._data (pedroslopez#2958)

* feat: `vote_update` event (pedroslopez#2596)

* Merge branch 'add-polls' into polls-ext

* added listener to poll votes

* added isUnvote property

* added option for custom message secret

* usage example updated

* added logic for catching removed votes

* usage example updated

* fixed logic for poll vote events

* temp usage example

* No more `isCurrentState`

* messageSecret converted to array

Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>

* docs updated

* we already have messageSecret in vote.parentMessage

* PollVote.selectedOptions changed to be similar to pollOptions

* docs fixed

* window.injectToFunction clarifications

* minor clarifications

* fix: typo

* style: fix broken link in readme file

---------

Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>

* 1.23.1-alpha.6

* Expose chat `pinned` property (pedroslopez#2771)

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* Make an NPM release via GitHub (pedroslopez#2942)

* Update release.yml

* Update publish

* Update release.yml

* Update publish

* Update publish: publish new docs before new version release

* Update publish

* Update publish

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* 1.24.0

---------

Co-authored-by: dark <61346219+qzdark@users.noreply.github.com>
Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
Co-authored-by: Bauguelson <143646733+Bauguelson@users.noreply.github.com>
Co-authored-by: Gulg <65360617+GulgDev@users.noreply.github.com>
Co-authored-by: Shir Serlui <70711723+shirser121@users.noreply.github.com>
Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>
Co-authored-by: WWebJS Bot <hello@wwebjs.dev>
Co-authored-by: Thomas <1688389+Rakambda@users.noreply.github.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
aleborile added a commit to Condo-AI/whatsapp-web.js that referenced this pull request Jun 14, 2024
* fix: logo link (pedroslopez#2994)

* fix: logo link

* fix: fix broken link in readme file

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* Update Client.js (pedroslopez#2813)

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* Add members settings (pedroslopez#2788)

* Update GroupChat.js

* Update index.d.ts

* style: clarify method doc

* refactor: add additional check

* fix: provide valid error name

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* Fix: delete lines that remove data from this._data (pedroslopez#2958)

* feat: `vote_update` event (pedroslopez#2596)

* Merge branch 'add-polls' into polls-ext

* added listener to poll votes

* added isUnvote property

* added option for custom message secret

* usage example updated

* added logic for catching removed votes

* usage example updated

* fixed logic for poll vote events

* temp usage example

* No more `isCurrentState`

* messageSecret converted to array

Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>

* docs updated

* we already have messageSecret in vote.parentMessage

* PollVote.selectedOptions changed to be similar to pollOptions

* docs fixed

* window.injectToFunction clarifications

* minor clarifications

* fix: typo

* style: fix broken link in readme file

---------

Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>

* 1.23.1-alpha.6

* Expose chat `pinned` property (pedroslopez#2771)

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* Make an NPM release via GitHub (pedroslopez#2942)

* Update release.yml

* Update publish

* Update release.yml

* Update publish

* Update publish: publish new docs before new version release

* Update publish

* Update publish

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>

* 1.24.0

---------

Co-authored-by: dark <61346219+qzdark@users.noreply.github.com>
Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
Co-authored-by: Bauguelson <143646733+Bauguelson@users.noreply.github.com>
Co-authored-by: Gulg <65360617+GulgDev@users.noreply.github.com>
Co-authored-by: Shir Serlui <70711723+shirser121@users.noreply.github.com>
Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>
Co-authored-by: WWebJS Bot <hello@wwebjs.dev>
Co-authored-by: Thomas <1688389+Rakambda@users.noreply.github.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
longgtruong pushed a commit to OpenDeur/whatsapp-web.js that referenced this pull request Jul 1, 2024
* Update GroupChat.js

* Update index.d.ts

* style: clarify method doc

* refactor: add additional check

* fix: provide valid error name

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
longgtruong pushed a commit to OpenDeur/whatsapp that referenced this pull request Jul 17, 2024
* Update GroupChat.js

* Update index.d.ts

* style: clarify method doc

* refactor: add additional check

* fix: provide valid error name

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
augustos0204 pushed a commit to augustos0204/whatsapp-web.js that referenced this pull request Jul 20, 2024
* Update GroupChat.js

* Update index.d.ts

* style: clarify method doc

* refactor: add additional check

* fix: provide valid error name

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants