hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
65 stars 38 forks source link

BUG: Joined communities are not reflected in sidebar and user can't comment or do any action #7546

Closed ilijabojanovic closed 2 weeks ago

ilijabojanovic commented 3 weeks ago

Describe the bug

When user joins new community, we are not updating current sidebar state, when user tries to add comment we have error.

Cannot read properties of undefined (reading 'id')

Initial conditions

Environment:

QA Branch/Release version:

Master/v1.3.2-x Browser:

All Wallet:

All

Reproduction steps

  1. Go to https://qa.commonwealth.im/
  2. Sing in
  3. Join some new community
  4. Open some treat and try to comment
  5. Also expand sidebar and observe number of communities

Actual behavior

User is not able to post a comment

Expected behavior

We should refresh side bar and allow user to post a comment in joined community

Screenshots / Video

https://app.screencast.com/RbqCL5QeFyn8t

Reporter

Additional context