Rapptz 848d752388 Change User.avatar to be Optional[Asset] instead of Asset
This change was needed to allow users to more easily check if an
uploaded avatar was set using `if user.avatar:` rather than the
admittedly clunky `if user.avatar != user.default_avatar.

The old behaviour with a fallback is still useful for actual display
purposes, so it has been moved over to the new `User.display_avatar`
attribute. This also has symmetry with the newly added
`Member.display_avatar` attribute.
2021-08-25 01:43:09 -04:00
..
2021-08-22 05:50:28 -04:00
2021-08-23 23:44:20 -04:00
2021-08-22 06:49:42 -04:00
2021-07-30 21:25:41 -04:00
2021-07-07 20:17:17 -04:00
2021-08-24 02:28:39 -04:00
2021-08-22 02:28:37 -04:00
2021-05-29 04:26:21 -04:00
2021-07-28 19:55:19 -04:00
2021-05-05 10:29:07 -04:00
2021-08-22 05:44:41 -04:00
2021-08-22 06:08:30 -04:00
2021-08-23 01:57:58 -04:00
2021-08-22 02:25:13 -04:00
2021-08-18 00:23:16 -04:00
2021-08-22 03:05:22 -04:00
2021-08-23 23:52:45 -04:00
2021-05-10 20:24:48 -04:00