# collab: Lookup avatars by GitHub ID instead of username \(\#33523\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e3ce0618a3a9a55b6a1b55118e48c9d6a087f0e2)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e3ce0618a3a9a55b6a1b55118e48c9d6a087f0e2

Requested commit: e3ce0618a3a9a55b6a1b55118e48c9d6a087f0e2

Commit: e3ce0618a3a9a55b6a1b55118e48c9d6a087f0e2

Tree: 5ead9ae8bbfbd1a0a3b6533e52bb36491a573b36

Author: Peter Tripp

Committer: GitHub

## Message

```
collab: Lookup avatars by GitHub ID instead of username (#33523)

Closes: https://github.com/zed-industries/zed/issues/19207

This will correctly show Avatars for recently renamed/deleted users and
for enterprise users where the username avatar url triggers a redirect
to an auth prompt. Also saves a request (302 redirect) per avatar.

Tested locally and avatars loaded as expected.

Release Notes:

- N/A
```

## Parents

- [865dd4c5fceae1249030a5ee3e335f012e440a56](https://git.cafe/gitcafe/zed/commit/865dd4c5fceae1249030a5ee3e335f012e440a56?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e3ce0618a3a9a55b6a1b55118e48c9d6a087f0e2?format=markdown)
