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

Provide access to account_data #294

Open
madduck opened this issue Jan 8, 2019 · 1 comment
Open

Provide access to account_data #294

madduck opened this issue Jan 8, 2019 · 1 comment

Comments

@madduck
Copy link

madduck commented Jan 8, 2019

There is no way to access a user's account_data dictionary, which is returned in response to a /sync, but not saved. At the very least, could it please be saved in the client?

madduck added a commit to madduck/matrix-python-sdk that referenced this issue Jan 9, 2019
This keeps a copy of account_data in the Client object after a sync,
which can then be easily accessed through a dictionary.

In addition, Client.get_account_data is provided as a means to obtain
the current account_data structure for direct feeding into
Api.set_account_data.

Closes: Github matrix-org#294
Signed-off-by: martin f. krafft <[email protected]>
@sachinam1397
Copy link

@non-Jedi can you please assign me this issue?

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

No branches or pull requests

3 participants