Skip to content

Add user status to DM rooms in the room list#34191

Open
dbkr wants to merge 3 commits into
developfrom
dbkr/userstatus_roomlist
Open

Add user status to DM rooms in the room list#34191
dbkr wants to merge 3 commits into
developfrom
dbkr/userstatus_roomlist

Conversation

@dbkr

@dbkr dbkr commented Jul 8, 2026

Copy link
Copy Markdown
Member

Inspiration taken from #34161 but sanitised

Also:

  • Moves emoji validation to fetchUserStatus
  • Adds a few tsdoc comments
Screenshot 2026-07-08 at 17 13 26

Checklist

});

this.updateUserStatus();
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I debated whether it was worth abstracting this away into a class that just gets and emits updates for a single user's status (like the useUserStatus hook but for view models). I'm not sure it is, partially as we don't have this as a pattern afaik, but it feels like a thing that might come up more often.

@americanrefugee americanrefugee left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants