GroupV2: Show summary of change details on re-join of group
This commit is contained in:
@@ -70,6 +70,7 @@ type GroupIconType =
|
||||
| 'group-avatar'
|
||||
| 'group-decline'
|
||||
| 'group-edit'
|
||||
| 'group-summary'
|
||||
| 'group-leave'
|
||||
| 'group-remove';
|
||||
|
||||
@@ -120,6 +121,9 @@ function getIcon(
|
||||
if (changeType === 'admin-approval-bounce' && isLastText) {
|
||||
possibleIcon = undefined;
|
||||
}
|
||||
if (changeType === 'summary') {
|
||||
possibleIcon = 'group-summary';
|
||||
}
|
||||
return possibleIcon || 'group';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user