Browse SDKs · uni-app / uni-app x
SDKsuni-app

Remove a user from the blacklist

Remove the selected blacklist relationship.

Copy
import { removeBlack } from '@/uni_modules/unix-openim-sdk'

await removeBlack('user_b')

Confirm through onBlackDeleted or a new snapshot. Removal does not restore a deleted friendship or recreate conversations. If repeated removal returns a relation-state error, refresh the snapshot instead of retrying indefinitely.