Skip to content

Add check to get_avatar_url()#202

Merged
non-Jedi merged 1 commit intomatrix-org:masterfrom
DylanVanAssche:master
May 14, 2018
Merged

Add check to get_avatar_url()#202
non-Jedi merged 1 commit intomatrix-org:masterfrom
DylanVanAssche:master

Conversation

@DylanVanAssche
Copy link
Contributor

This PR adds a check to get_avatar_url() in user.py to see if the avatar actually exists before calling the get_download_url() method.

Signed-off-by: Dylan Van Assche dylan.van.assche@protonmail.com

Fixed #200

Signed-off-by: Dylan Van Assche <dylan.van.assche@protonmail.com>
@non-Jedi
Copy link
Collaborator

LGTM. Thanks so much!

@non-Jedi non-Jedi merged commit c1ec3f6 into matrix-org:master May 14, 2018
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.

2 participants