diff options
| author | Zeyla Hellyer <[email protected]> | 2017-06-04 12:36:08 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-04 14:38:24 -0700 |
| commit | 8360f329eae1751a8a413a6f6838486f3a0bba01 (patch) | |
| tree | b0970a0314d6f2cd1edb6ccbd2b46e3d6abafa18 /examples | |
| parent | Add CurrentUser::default_avatar_url (diff) | |
| download | serenity-8360f329eae1751a8a413a6f6838486f3a0bba01.tar.xz serenity-8360f329eae1751a8a413a6f6838486f3a0bba01.zip | |
Move user avatar method logic out
The logic for the `User` and `CurrentUser` avatar methods (`avatar_url`,
`default_avatar_url`, `static_avatar_url`) were duplicated, so move the
logic out and have each method simply call the related function.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions