Thread message feed can show an old permalink message
Right now the TMF doesn't support aroundId
search and so when TMF gets initialized and the permalink message isn't within the last 50 messages (that's the fetch limit) user can't see the messages around permalink message.
In other words. If we have got 100 messages ([1,2,...,100]
) when 1
is the oldest and 100
the newest, if we've got a permalink to 24
, the user will see [24,51,52,...,99,100]
.
The solution is to support aroundId
queries in the API and using aroundId
when opening TMF with a permalink.
-
make sure that when TMF opens with a permalink, it doesn't scroll to the last message, but to the highlighted permalink message
Edited by Tomas Vik