diff --git a/src/components/views/elements/Pill.js b/src/components/views/elements/Pill.js index 70e1d0659a..b860f7bf72 100644 --- a/src/components/views/elements/Pill.js +++ b/src/components/views/elements/Pill.js @@ -152,8 +152,12 @@ const Pill = React.createClass({ try { group = await FlairStore.getGroupProfileCached(cli, resourceId); - } catch (e) { // if FlairStore failed, rely on js-sdk's store which lacks info - group = cli.getGroup(resourceId); + } catch (e) { // if FlairStore failed, fall back to just groupId + group = { + groupId: resourceId, + avatarUrl: null, + name: null, + }; } } }