Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postLoad before setting famedly calls #1832

Closed
wants to merge 1 commit into from
Closed

postLoad before setting famedly calls #1832

wants to merge 1 commit into from

Conversation

td-famedly
Copy link
Member

@td-famedly td-famedly commented May 28, 2024

Fixes: #1830

Found a missing postLoad from a maybe code path, this does not fix the admin indicator missing bug, you probably want to set powerlevels as a required event for that

@td-famedly td-famedly requested a review from a team as a code owner May 28, 2024 08:33
@td-famedly td-famedly changed the title chore: make sure you also postLoad before setting the famedly call event postLoad before setting famedly calls and make power levels an important state event May 28, 2024
Copy link
Contributor

@krille-chan krille-chan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, no that shouldn't be the cause. If you are in a room, you have already post loaded it. If you set powerlevels as important state event, you do not need to postload it.

I would not set powerlevel as important state event as this then would load it for all rooms which is bad for the performance on app start.

@td-famedly td-famedly changed the title postLoad before setting famedly calls and make power levels an important state event postLoad before setting famedly calls May 28, 2024
@td-famedly
Copy link
Member Author

hm makes sense, needs more work then.

for context also related to #1772

@td-famedly td-famedly closed this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

users somehow get an old version of powerlevels state
2 participants