Using: Javascript SDK 3.0.134
User was deactivated using this Platform API:
PUT https://api-{application_id}.sendbird.com/v3/users/{user_id}
is_active was set to false
leave_all_when_deactivated was set to false
User information was updated in SendBird dashboard
But when getting the user as a sender using channel.createPreviousMessageListQuery()
and then using the instance’s load()
method,
sender’s isActive status is still set to true.
[{"_sender": {"_preferredLanguages": null, “connectionStatus”: “nonavailable”, “friendDiscoveryKey”: null, “friendName”: null, “isActive”: true, “isBlockedByMe”: false, “lastSeenAt”: 0, “metaData”: [Object], “nickname”: “innovative_boar123”, … }]
Is this a SendBird Bug?
If no, can you see what I did wrong?
If yes, will this be fixed soon?
Also, is there an SDK API that can be used to set is_active and leave_all_when_deactivated instead of using the Platform API?