introduce useGetAvatarForThread hook. When thinking about thread avatars, there are three main thread avatars we need to consider
- channels/group chats
- private aka the chat with yourself (introduced in D7178)
- personal aka 1on1 chat with another user (introduced in D7178)
Another thing we needed to consider when building this hook is that the thread avatar should default the channel thread avatar to their community's avatar, but we do need to should special-case GENESIS and make it an exception (otherwise, all DMs / group chats will default to the GENESIS avatar)
Depends on D7178