From 384320e29f84128a345af08380536727a4046ff1 Mon Sep 17 00:00:00 2001 From: Christopher Medlin Date: Mon, 24 Dec 2018 14:46:36 -0800 Subject: [PATCH] Consistently order flairs based on room configuration. --- src/components/views/messages/SenderProfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/messages/SenderProfile.js b/src/components/views/messages/SenderProfile.js index 0f767675e2b..bcad4d8c827 100644 --- a/src/components/views/messages/SenderProfile.js +++ b/src/components/views/messages/SenderProfile.js @@ -84,8 +84,8 @@ export default React.createClass({ _getDisplayedGroups(userGroups, relatedGroups) { let displayedGroups = userGroups || []; if (relatedGroups && relatedGroups.length > 0) { - displayedGroups = displayedGroups.filter((groupId) => { - return relatedGroups.includes(groupId); + displayedGroups = relatedGroups.filter((groupId) => { + return displayedGroups.includes(groupId); }); } else { displayedGroups = [];