Global banned user message inconsistent behaviour

When I global ban a user, other users in the chat still see the banned users messages however they will not be displayed if said user closes and reopens the chat

Hi @martin , thank you for the question and sorry for the late reply.
That is the behavior by following detail below

  1. The messages are loaded in the cache, so that is the reason that why we still see the messages
  2. If the user reloads the page, messages are not in cache so new messages coming in are all soft-deleted (since the user is banned)

Hi @martin,

What is sdk version you are using? We made fix recently. Version 5.4.2 should mark messages of the banned user as deleted and nullify it’s content even without reopening.