mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-02 09:46:38 +00:00
Jonathan Rainville
36f2bb79a9
fix(members): fix member count not updating correctly on join (#16680)
* fix(members): fix member count not updating correctly on join Fixes #16672 The issue was that the requests to join were not handled in time for when the community update came in, so when we udpated the section, we got both the normal member and the pending member still and they clashed and the pending one came on top, meaning that the joined member was not counted. On a restart it would fix itself. To fix it, I reordered the parsing of communities and requests, so that the request is updated first, ie deleted because it is now accepted. I also fixed the function that handles request to that the state gets updated at all times. Before, it would only get updated if it was not accepted, pending or waiting for address. Finally, there was a weird scenario where as a TM, I saw myself as pending even if I was joined, so I fixed it by removing duplicates. * chore(@e2e): remove xfail mark from pin messages test --------- Co-authored-by: Anastasiya Semenkevich <anastasija.ig@gmail.com>
…
…
…
Status Desktop
Status Desktop client built with Nim and Qt.
Contributing
Our Website
Need Help?
Build Instructions
You have an idea for a cool feature or improvement?
Description
Languages
QML
39.2%
JavaScript
29.7%
Nim
18.5%
Python
5.7%
C++
5.2%
Other
1.6%