Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Add methods to query /publicRooms API #71

Merged
merged 7 commits into from Jan 28, 2020
Merged

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Dec 21, 2019

No description provided.

@babolivier babolivier requested a review from a team January 2, 2020 09:18
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

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

Getting there, but will need some updating for the current state of the publicRooms endpoint.

client.go Outdated Show resolved Hide resolved
client.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
@t3chguy
Copy link
Member Author

t3chguy commented Jan 25, 2020

Luckily gomatrix sends auth for every API call :D

Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

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

lgtm

@t3chguy t3chguy merged commit 9e7906b into master Jan 28, 2020
content["since"] = since
}
if filter != "" {
content["filter"] = filter
Copy link

Choose a reason for hiding this comment

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

According to https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3publicrooms, filter is a map with generic_search_term key. How can this work ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants