Group chats with no user
avatar should return null for
the room.avatar getter and not
a random hero avatar. This could
otherwise lead to confusion as
it looks like this is a DM which
is not the case.
For the name we should also
not just display the name of
the invitor like in a DM even for
group chats, but some more
additional information. I found
a String for
invites quite useful here as
this would name rooms without
a m.room.name like this:
"Invited by $senderName"
which should be short enough.
The alternative
"You have been invited by $senderName" could be too
long IMO.
Group chats with no user avatar should return null for the room.avatar getter and not a random hero avatar. This could otherwise lead to confusion as it looks like this is a DM which is not the case.
For the name we should also not just display the name of the invitor like in a DM even for group chats, but some more additional information. I found a String for invites quite useful here as this would name rooms without a m.room.name like this: "Invited by $senderName" which should be short enough. The alternative "You have been invited by $senderName" could be too long IMO.