Skip to content

Comments

bridgev2/matrix: handle missing m.direct account data in MarkAsDM#459

Open
jhesch wants to merge 1 commit intomautrix:mainfrom
jhesch:jhesch/mark-as-dm-fix
Open

bridgev2/matrix: handle missing m.direct account data in MarkAsDM#459
jhesch wants to merge 1 commit intomautrix:mainfrom
jhesch:jhesch/mark-as-dm-fix

Conversation

@jhesch
Copy link

@jhesch jhesch commented Feb 12, 2026

GetAccountData returns M_NOT_FOUND when m.direct has never been set.
Treat this as an empty map instead of a fatal error so the DM flag is written
on the first bridge conversation.

GetAccountData returns M_NOT_FOUND when m.direct has never been set.
Treat this as an empty map instead of a fatal error so the DM flag
is written on the first bridge conversation.
@jhesch
Copy link
Author

jhesch commented Feb 20, 2026

@tulir Any chance you can kick off the checks for this PR? Thanks!

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant