Continuing the discussion from Reply as new message to same recipients:
This issue appeared as I was testing my soon-to-be-PR-worthy implementation of the above.
Steps to reproduce:
- Write message to a group and a member of that group
- Remove the group from the message: only you will be left in
topic.details.allowed_users
- Refresh the page: the member of the removed group will appear in
topic.details.allowed_users
Because a picture tells a thousand words, what you see after step 2:
And after step 3:
Expected result:
No refresh is needed to get to the result of step 3.
I expect the same thing happens (in reverse) if you add a group to a message which a user is a recipient of.
I’ll probably get on fixing this after I submit the PR for the above feature, and I think I’ve mostly figured out how I would fix it, but feedback before that is very welcome.