Today I noticed an interesting bug in lemmy-ui.
If you open a post in one tab and then open a new tab where you subscribe to a different community, the sidebar and “target community” of the post in the previous tab will be updated to the newly subscribed community.
However, this only happens when you subscribe to remote communities.
I suspect the reason for this is that the FollowCommunityResponse is sent to both websockets of the open tabs.
I don’t know if the upcoming removal of the websocket API will make this bug a non-issue, so I haven’t reported it on Github.
Expand for some screenshots
(Browser is Firefox 113.0.2 btw)
You must log in or # to comment.