Skip to content

Conversation

@andrewdoh
Copy link
Contributor

Signed-off-by: Andrew Doh andrewddo@gmail.com

Signed-off-by: Andrew Doh <andrewddo@gmail.com>
Signed-off-by: Andrew Doh <andrewddo@gmail.com>
@DMRobertson DMRobertson requested review from a team July 25, 2022 09:29
andrewdoh and others added 2 commits July 25, 2022 10:10
Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
Signed-off-by: Andrew Doh <andrewddo@gmail.com>
@andrewdoh andrewdoh requested a review from DMRobertson July 25, 2022 17:23
Copy link
Contributor

@DMRobertson DMRobertson left a comment

Choose a reason for hiding this comment

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

LGTM!

@DMRobertson
Copy link
Contributor

Will probably need matrix-org/synapse#13374 before merging.

@babolivier
Copy link
Contributor

babolivier commented Aug 3, 2022

It looks like this PR is having issue with the CI:

tests/csapi/apidoc_room_state_test.go:16:2: http redeclared as imported package name
	/home/runner/work/complement/complement/tests/csapi/apidoc_room_state_test.go:4:2: previous declaration

This seems to be because #415 added an import of net/http to this file. @andrewdoh can you fix this please? Happy to merge this PR once it's done (and CI is happy)

Signed-off-by: Andrew Doh <andrewddo@gmail.com>
@andrewdoh
Copy link
Contributor Author

andrewdoh commented Aug 3, 2022

It looks like this PR is having issue with the CI:

tests/csapi/apidoc_room_state_test.go:16:2: http redeclared as imported package name
	/home/runner/work/complement/complement/tests/csapi/apidoc_room_state_test.go:4:2: previous declaration

This seems to be because #415 added an import of net/http to this file. @andrewdoh can you fix this please? Happy to merge this PR once it's done (and CI is happy)

yes, its fixed. you're right, looks like we both imported http per #415. thanks.

@andrewdoh
Copy link
Contributor Author

andrewdoh commented Aug 4, 2022

hmmm, I suppose this new error means that its not working for golang implementation of the matrix protocol? I could add it tomorrow if that's right. @babolivier

@kegsay
Copy link
Member

kegsay commented Aug 11, 2022

You are correct, please runtime.SkipIf(runtime.Dendrite)

Signed-off-by: Andrew Doh <andrewddo@gmail.com>
@andrewdoh
Copy link
Contributor Author

I've updated the PR with the suggested, thanks @kegsay.

@andrewdoh andrewdoh requested a review from DMRobertson August 15, 2022 04:04
@DMRobertson DMRobertson merged commit 9b3628f into matrix-org:main Aug 17, 2022
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.

4 participants