Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
haoxiuwen committed Oct 28, 2024
1 parent 32b5d31 commit aadd4be
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public void unmuteAllMembers(final String groupId, final ValueCallBack<Group> ca

The chat group owner and admins are added to the chat group allow list by default.

Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, adding this member to the allow list does not take effect.
Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, this member still cannot send send messages in the group even after being added to the group allow list.

Refer to the following sample code to manage the chat group allow list:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ The chat group owner and admins are added to the chat group allow list by defaul

#### Add a member to the chat group allow list

Only the chat group owner and admins can call `addAllowList` to add the specified member to the chat group allow list. Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, adding this member to the allow list does not enable them to send messages. The mute list takes precedence.
Only the chat group owner and admins can call `addAllowList` to add the specified member to the chat group allow list. Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, this member still cannot send send messages in the group even after being added to the group allow list.

The following code sample shows how to add a member to the chat group allow list:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ The chat group owner and admins are added to the chat group allow list by defaul

#### Add a member to the chat group allow list

Only the chat group owner and admins can call `addAllowList` to add the specified member to the chat group allow list. Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, adding this member to the allow list still does not enable them to send messages. The mute list takes precedence.
Only the chat group owner and admins can call `addAllowList` to add the specified member to the chat group allow list. Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, this member still cannot send send messages in the group even after being added to the group allow list.

The following code sample shows how to add a member to the chat group allow list:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ The chat group owner and admins are added to the chat group allow list by defaul

#### Add a member to the chat group allow list

Only the chat group owner and admins can call `AddGroupWhiteList` to add the specified member to the chat group allow list. Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, adding this member to the allow list does not enable them to send messages. The mute list takes precedence.
Only the chat group owner and admins can call `AddGroupWhiteList` to add the specified member to the chat group allow list. Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, this member still cannot send send messages in the group even after being added to the group allow list.


The following code sample shows how to add a member to the chat group allow list:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ The chat group owner and admins are added to the chat group allow list by defaul

#### Add a member to the chat group allow list

Only the chat group owner and admins can call `AddGroupWhiteList` to add the specified member to the chat group allow list. Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, adding this member to the allow list does not enable them to send messages. The mute list takes precedence.
Only the chat group owner and admins can call `AddGroupWhiteList` to add the specified member to the chat group allow list. Members in the chat group allow list can send chat group messages even when the chat group owner or admin has muted all chat group members. However, if a member is already in the chat group mute list, this member still cannot send send messages in the group even after being added to the group allow list.

The following code sample shows how to add a member to the chat group allow list:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ The chat room owner and admins are added to the chat room allow list by default.

#### Add a member to the chat room allow list

Only the chat room owner and admins can call `addMembersToChatRoomAllowList` to add the specified member to the chat room allow list. Members in the chat room allow list can send chat room messages even when the chat room owner or admin has muted all chat room members. However, if a member is already in the chat room mute list, adding this member to the allow list does not enable them to send messages. The mute list takes precedence. Once added to the allow list, this member and all the other chat room admins or owner receive the `ChatRoomEventHandler#onAllowListAddedFromChatRoom` callback.
Only the chat room owner and admins can call `addMembersToChatRoomAllowList` to add the specified member to the chat room allow list. Members in the chat room allow list can send chat room messages even when the chat room owner or admin has muted all chat room members. However, if a member is already in the chat room mute list, this member still cannot send send messages in the chat room even after being added to the chat room allow list. Once added to the allow list, this member and all the other chat room admins or owner receive the `ChatRoomEventHandler#onAllowListAddedFromChatRoom` callback.

The following code sample shows how to add a member to the chat room allow list:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ ChatClient.getInstance()

The chat room owner and admins are added to the chat room allow list by default.

Members in the chat room allow list can send chat room messages even when the chat room owner or an admin has muted all the chat room members. However, if a member is already in the chat room mute list, adding this member to the allow list does not take effect.
Members in the chat room allow list can send chat room messages even when the chat room owner or an admin has muted all the chat room members. However, if a member is already in the chat room mute list, this member still cannot send send messages in the chat room even after being added to the chat room allow list.

#### Retrieve the allow list of the chat room

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Messages sent by members in the chat room allow list are of high priority and wi

#### Add a member to the chat room allow list

Only the chat room owner and admins can call `AddAllowListMembers` to add the specified member to the chat room allow list. Members in the chat room allow list can send chat room messages even when the chat room owner or admin has muted all chat room members. However, if a member is already in the chat room mute list, adding this member to the allow list does not enable them to send messages. The mute list takes precedence. Once added to the allow list, this member and all the other chat room admins or owner receive the `IRoomManagerDelegate#OnAddAllowListMembersFromChatroom` callback.
Only the chat room owner and admins can call `AddAllowListMembers` to add the specified member to the chat room allow list. Members in the chat room allow list can send chat room messages even when the chat room owner or admin has muted all chat room members. However, if a member is already in the chat room mute list, this member still cannot send send messages in the chat room even after being added to the chat room allow list.Once added to the allow list, this member and all the other chat room admins or owner receive the `IRoomManagerDelegate#OnAddAllowListMembersFromChatroom` callback.

The following code sample shows how to add a member to the chat room allow list:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ conn.enableSendChatRoomMsg(option).then((res) => {

The chat room owner and admins are added to the chat room allow list by default.

Members in the chat room allow list can send chat room messages even when the chat room owner or an admin has muted all the chat room members. However, if a member is already in the chat room mute list, adding this member to the allow list does not take effect.
Members in the chat room allow list can send chat room messages even when the chat room owner or an admin has muted all the chat room members. However, if a member is already in the chat room mute list, this member still cannot send send messages in the chat room even after being added to the chat room allow list.

```javascript
// The chat room owner or admin can call addUsersToChatRoomAllowlist to add the specified member to the chat room allow list.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Messages sent by members in the chat room allow list are of high priority and wi

#### Add a member to the chat room allow list

Only the chat room owner and admins can call `AddAllowListMembers` to add the specified member to the chat room allow list. Members in the chat room allow list can send chat room messages even when the chat room owner or admin has muted all chat room members. However, if a member is already in the chat room mute list, adding this member to the allow list does not enable them to send messages. The mute list takes precedence. Once added to the allow list, this member and all the other chat room admins or owner receive the `IRoomManagerDelegate#OnAddAllowListMembersFromChatroom` callback.
Only the chat room owner and admins can call `AddAllowListMembers` to add the specified member to the chat room allow list. Members in the chat room allow list can send chat room messages even when the chat room owner or admin has muted all chat room members. However, if a member is already in the chat room mute list, this member still cannot send send messages in the chat room even after being added to the chat room allow list. Once added to the allow list, this member and all the other chat room admins or owner receive the `IRoomManagerDelegate#OnAddAllowListMembersFromChatroom` callback.

The following code sample shows how to add a member to the chat room allow list:

Expand Down

0 comments on commit aadd4be

Please sign in to comment.