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

refactor: Make direct chat getter type safe #2005

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

krille-chan
Copy link
Contributor

This also makes sure that we
do not accidentally change
it in RAM before the
change comes from the server
when calling
addToDirectChat()

@krille-chan krille-chan requested a review from a team as a code owner January 20, 2025 08:44
This also makes sure that we
do not accidentally change
it in RAM before the
change comes from the server
when calling
addToDirectChat()
@krille-chan krille-chan force-pushed the krille/direct-chat-type-safe branch from 0d48ca9 to c0a1002 Compare January 20, 2025 09:26
await client.setAccountData(
client.userID!,
'm.direct',
directChats,
{
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the 'markasdm' in commands_test.dart needs to be changed to account for this

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.

2 participants