Skip to content

Commit d93f29a

Browse files
Merge pull request #50370 from bernhardoj/fix/49933-group-welcom-message-not-updated-immediately
Fix the welcome group message doesn't update when a user is removed
2 parents e44ba87 + 09d20ef commit d93f29a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ReportWelcomeText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function ReportWelcomeText({report, policy}: ReportWelcomeTextProps) {
4040
const isInvoiceRoom = ReportUtils.isInvoiceRoom(report);
4141
const isSystemChat = ReportUtils.isSystemChat(report);
4242
const isDefault = !(isChatRoom || isPolicyExpenseChat || isSelfDM || isInvoiceRoom || isSystemChat);
43-
const participantAccountIDs = ReportUtils.getParticipantsAccountIDsForDisplay(report, undefined, undefined, true);
43+
const participantAccountIDs = ReportUtils.getParticipantsAccountIDsForDisplay(report, undefined, true, true);
4444
const isMultipleParticipant = participantAccountIDs.length > 1;
4545
const displayNamesWithTooltips = ReportUtils.getDisplayNamesWithTooltips(OptionsListUtils.getPersonalDetailsForAccountIDs(participantAccountIDs, personalDetails), isMultipleParticipant);
4646
const welcomeMessage = SidebarUtils.getWelcomeMessage(report, policy);

0 commit comments

Comments
 (0)