Signaling icon indicating copy to clipboard operation
Signaling copied to clipboard

How to block a user?

Open htrxuan opened this issue 6 years ago • 6 comments

Hi,

How to block a user in channel? (one admin of channel, all others are user), so admin can block any bad users, could I do this with agora?

htrxuan avatar Aug 26 '19 12:08 htrxuan

you can implement your own logic to send a ban msg to any user who you want to block. And the user needs to handle this message and leave the channel. That's how it's typically done with our RTM/Signaling SDK.

plutoless avatar Aug 26 '19 14:08 plutoless

no, I want to set an admin, so this guy can ban any user ? Could I do this?

htrxuan avatar Aug 27 '19 14:08 htrxuan

there's no admin concept in our RTM/Signaling SDK.

plutoless avatar Aug 27 '19 14:08 plutoless

i know, but anyway to ban a user after they joined to a channel?

htrxuan avatar Aug 27 '19 14:08 htrxuan

seems to be the only way. you can also deploy your own service, and send restful request to check if a user is able to join a channel or not

plutoless avatar Aug 27 '19 14:08 plutoless

no, it's not good idea. If I need to create, I will use other service for text chat instead of Agora Signaling.

htrxuan avatar Aug 27 '19 14:08 htrxuan