Handle groups being joined and left
This commit is contained in:
parent
8d2d3e62cd
commit
a120335130
2 changed files with 20 additions and 2 deletions
|
@ -60,6 +60,7 @@ const TagPanel = React.createClass({
|
|||
|
||||
const orderedTags = TagOrderStore.getOrderedTags() || [];
|
||||
const orderedGroupTags = orderedTags.filter((t) => t[0] === '+');
|
||||
// XXX: One profile lookup failing will bring the whole lot down
|
||||
Promise.all(orderedGroupTags.map(
|
||||
(groupId) => FlairStore.getGroupProfileCached(this.context.matrixClient, groupId),
|
||||
)).then((orderedGroupTagProfiles) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue