fix: support displaying users without avatars
In #308 (closed) we found that user.avatarUrl
(GraphQL docs) and user.avatar_url
(REST docs) can be null
. The extension logic assumed they are always present and was calling .startsWith()
method on null.
This MR changes the type definitions to allow missing avatar URL. It then changes the code to support this edge case.
Related to #308 (closed)