-
Notifications
You must be signed in to change notification settings - Fork 52
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
Conversation
Signed-off-by: Mathieu Velten <[email protected]>
Co-authored-by: Jonathan de Jong <[email protected]>
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
Outdated
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 |
There was a problem hiding this comment.
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
.
This will fail for now, and should be fixed by matrix-org/synapse#14243.