Browse SDKs · Flutter
SDKsFlutter

Unblock a user

Remove a user from the current account’s blocklist with the OpenIM Flutter SDK.

Copy
await OpenIM.iMManager.friendshipManager.removeBlacklist(
  userID: targetUserID,
);

A successful Future does not mean the event has already arrived. This page owns onBlackDeleted. Include it in the application's single OnFriendshipListener, and remove the record from the blocklist by its non-empty userID. Reconcile the complete snapshot through the existing blocklist page.