The `getUserAvatarForThread` function returns the user avatar for threads that are either `PERSONAL` or `PRIVATE`. We inject the user avatars in `threadInfoFromRawThreadInfo` so that it is already set, and when we later call useGetAvatarForThread (introduced in D7132) we will just return that
Depends on D7178