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

Add Option to Fetch Full States #32

Open
NotAFile opened this issue Jun 23, 2017 · 1 comment
Open

Add Option to Fetch Full States #32

NotAFile opened this issue Jun 23, 2017 · 1 comment

Comments

@NotAFile
Copy link

Currently, there seems to be no way of fetching state with the default Syncer. You would need to essentially write your own Syncer.

@NotAFile
Copy link
Author

Correction: you can get state events manually with code like this:

	content := struct {
		Name string `json:"name"`
	}{}

	client.StateEvent(rm.ID, "m.room.name", "", &content)

but it's not very elegant and you basically need to do the decoding yourself.

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

No branches or pull requests

1 participant