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

Add presence test from people in 2 different rooms in incremental sync #525

Merged
merged 9 commits into from
Oct 27, 2022

Conversation

MatMaul
Copy link
Contributor

@MatMaul MatMaul commented Oct 20, 2022

This will fail for now, and should be fixed by matrix-org/synapse#14243.

@MatMaul MatMaul self-assigned this Oct 20, 2022
tests/csapi/sync_test.go Outdated Show resolved Hide resolved
tests/csapi/sync_test.go Outdated Show resolved Hide resolved
Mathieu Velten and others added 2 commits October 21, 2022 10:32
@DMRobertson
Copy link
Contributor

This will fail for now, and should be fixed by matrix-org/synapse#14243.

For future reference: if you make the complement branch and the Synapse branch the same, they will be tested against each other. Will rerun now that I merged the Synapse PR.

tests/csapi/sync_test.go Show resolved Hide resolved
tests/csapi/sync_test.go Show resolved Hide resolved
bob.DoFunc(t, "PUT", []string{"_matrix", "client", "v3", "presence", "@bob:hs1", "status"}, reqBody)
charlie.DoFunc(t, "PUT", []string{"_matrix", "client", "v3", "presence", "@charlie:hs1", "status"}, reqBody)

presenceBob, presenceCharlie := false, false
Copy link
Contributor

Choose a reason for hiding this comment

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

We should spell out what we're doing here.
I think I'd call these seenBobOnline and seenCharlieOnline.

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.

3 participants