[BUG] Starred & Pinned messages sidebars fetch APIs infinitely
JeffreytheCoder opened this issue · 2 comments
Description:
Starred & Pinned messages sidebars fetch APIs infinitely, caused by a recent change in #525
Steps to reproduce:
- Open starred or pinned message sidebar
- See the infinite calls in the "Network" tab of the inspection tool
Actual behavior:
Expected behavior:
Only fetch API once when the sidebar is opened
Yep @JeffreytheCoder I'm aware of it i checked last night... are you fixing it, or should I, do it?
The thing is i wanted to make this realtime, so while the sidebar is opened, it should still fetch the pinned message as soon it happened, i'm looking for a way to achieve it without making infinite calls.
Edit: You already fixed it !, Thanks @JeffreytheCoder , but is there a way we can make this realtime ?
Maybe listening to Real-time Apis provided by RC for threads, pinned message and starred message using webhooks provided by RC SDK? Will it be possible ? @JeffreytheCoder