Open paulchen opened 1 week ago
Looks like an issue on backend, right? @paulchen
Looks like an issue on backend, right? @paulchen
Maybe.
However, I don't know the design of the app.
Therefore, I reported the problem for the app where I observed it.
As an additional information, the web version works correctly:
Hi @diegolmello, I believe I have fixed this issue.
Can you assign this issue to me? and I will link the pull request to this issue.
Description:
In the list of pinned messages for a certain channel, messages that have been edited are shown multiple times.
Environment Information:
Steps to reproduce:
Expected behavior:
Only the current version of the message is shown.
Actual behavior:
Both the current and the old version of the message are shown.
https://github.com/RocketChat/Rocket.Chat.ReactNative/assets/404840/71f9d80c-1bb0-4a38-9171-8a4ff43de8eb
Additional context:
Apparently, the app (or Rocket.Chat's backend API) lacks a condition to filter out old revisions of messages.
An item of the message editing history contains the keys
parent
andhidden
which may be used for such a condition:The current revision of the message does not include these keys: