diff --git a/src/GroupAddressPicker.js b/src/GroupAddressPicker.js
index 58b65769ae..d956189f0d 100644
--- a/src/GroupAddressPicker.js
+++ b/src/GroupAddressPicker.js
@@ -148,13 +148,15 @@ function _onGroupAddRoomFinished(groupId, addrs, addRoomsPublicly) {
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
Modal.createTrackedDialog(
'Failed to add the following room to the group',
- '', ErrorDialog,
+ '',
+ ErrorDialog,
{
- title: _t(
- "Failed to add the following rooms to %(groupId)s:",
- {groupId},
- ),
- description: errorList.join(", "),
- });
+ title: _t(
+ "Failed to add the following rooms to %(groupId)s:",
+ {groupId},
+ ),
+ description: errorList.join(", "),
+ },
+ );
});
}
diff --git a/src/TextForEvent.js b/src/TextForEvent.js
index fd7b4fd18f..86f9ff20f4 100644
--- a/src/TextForEvent.js
+++ b/src/TextForEvent.js
@@ -547,17 +547,23 @@ function textForMjolnirEvent(event) {
// else the entity !== prevEntity - count as a removal & add
if (USER_RULE_TYPES.includes(event.getType())) {
- return _t("%(senderName)s changed a rule that was banning users matching %(oldGlob)s to matching " +
+ return _t(
+ "%(senderName)s changed a rule that was banning users matching %(oldGlob)s to matching " +
"%(newGlob)s for %(reason)s",
- {senderName, oldGlob: prevEntity, newGlob: entity, reason});
+ {senderName, oldGlob: prevEntity, newGlob: entity, reason},
+ );
} else if (ROOM_RULE_TYPES.includes(event.getType())) {
- return _t("%(senderName)s changed a rule that was banning rooms matching %(oldGlob)s to matching " +
+ return _t(
+ "%(senderName)s changed a rule that was banning rooms matching %(oldGlob)s to matching " +
"%(newGlob)s for %(reason)s",
- {senderName, oldGlob: prevEntity, newGlob: entity, reason});
+ {senderName, oldGlob: prevEntity, newGlob: entity, reason},
+ );
} else if (SERVER_RULE_TYPES.includes(event.getType())) {
- return _t("%(senderName)s changed a rule that was banning servers matching %(oldGlob)s to matching " +
+ return _t(
+ "%(senderName)s changed a rule that was banning servers matching %(oldGlob)s to matching " +
"%(newGlob)s for %(reason)s",
- {senderName, oldGlob: prevEntity, newGlob: entity, reason});
+ {senderName, oldGlob: prevEntity, newGlob: entity, reason},
+ );
}
// Unknown type. We'll say something but we shouldn't end up here.
diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js
index ef74499473..c17bae9d49 100644
--- a/src/components/structures/GroupView.js
+++ b/src/components/structures/GroupView.js
@@ -44,14 +44,14 @@ import {replaceableComponent} from "../../utils/replaceableComponent";
const LONG_DESC_PLACEHOLDER = _td(
`
HTML for your community's page
-
- Use the long description to introduce new members to the community, or distribute
- some important links
-
-
- You can even add images with Matrix URLs
-
-`);
+
+ Use the long description to introduce new members to the community, or distribute
+ some important links
+
+
+ You can even add images with Matrix URLs
+
`,
+);
const RoomSummaryType = PropTypes.shape({
room_id: PropTypes.string.isRequired,
@@ -110,13 +110,14 @@ class CategoryRoomList extends React.Component {
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
Modal.createTrackedDialog(
'Failed to add the following room to the group summary',
- '', ErrorDialog,
+ '',
+ ErrorDialog,
{
- title: _t(
- "Failed to add the following rooms to the summary of %(groupId)s:",
- {groupId: this.props.groupId},
- ),
- description: errorList.join(", "),
+ title: _t(
+ "Failed to add the following rooms to the summary of %(groupId)s:",
+ {groupId: this.props.groupId},
+ ),
+ description: errorList.join(", "),
},
);
});
@@ -146,8 +147,7 @@ class CategoryRoomList extends React.Component {
let catHeader = ;
if (this.props.category && this.props.category.profile) {
- catHeader =
+ catHeader =
{ this.props.category.profile.name }
;
}
@@ -193,11 +193,11 @@ class FeaturedRoom extends React.Component {
'Failed to remove room from group summary',
'', ErrorDialog,
{
- title: _t(
- "Failed to remove the room from the summary of %(groupId)s",
- {groupId: this.props.groupId},
- ),
- description: _t("The room '%(roomName)s' could not be removed from the summary.", {roomName}),
+ title: _t(
+ "Failed to remove the room from the summary of %(groupId)s",
+ {groupId: this.props.groupId},
+ ),
+ description: _t("The room '%(roomName)s' could not be removed from the summary.", {roomName}),
},
);
});
@@ -287,12 +287,13 @@ class RoleUserList extends React.Component {
'Failed to add the following users to the community summary',
'', ErrorDialog,
{
- title: _t(
- "Failed to add the following users to the summary of %(groupId)s:",
- {groupId: this.props.groupId},
- ),
- description: errorList.join(", "),
- });
+ title: _t(
+ "Failed to add the following users to the summary of %(groupId)s:",
+ {groupId: this.props.groupId},
+ ),
+ description: errorList.join(", "),
+ },
+ );
});
},
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
@@ -355,13 +356,14 @@ class FeaturedUser extends React.Component {
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
Modal.createTrackedDialog(
'Failed to remove user from community summary',
- '', ErrorDialog,
+ '',
+ ErrorDialog,
{
- title: _t(
- "Failed to remove a user from the summary of %(groupId)s",
- {groupId: this.props.groupId},
- ),
- description: _t("The user '%(displayName)s' could not be removed from the summary.", {displayName}),
+ title: _t(
+ "Failed to remove a user from the summary of %(groupId)s",
+ {groupId: this.props.groupId},
+ ),
+ description: _t("The user '%(displayName)s' could not be removed from the summary.", {displayName}),
},
);
});
@@ -1059,11 +1061,12 @@ export default class GroupView extends React.Component {
return null;
}
- const membershipButtonClasses = classnames([
- 'mx_RoomHeader_textButton',
- 'mx_GroupView_textButton',
- ],
- membershipButtonExtraClasses,
+ const membershipButtonClasses = classnames(
+ [
+ 'mx_RoomHeader_textButton',
+ 'mx_GroupView_textButton',
+ ],
+ membershipButtonExtraClasses,
);
const membershipContainerClasses = classnames(
diff --git a/src/components/structures/ScrollPanel.js b/src/components/structures/ScrollPanel.js
index 93a4c29b81..d423d4413e 100644
--- a/src/components/structures/ScrollPanel.js
+++ b/src/components/structures/ScrollPanel.js
@@ -884,19 +884,20 @@ export default class ScrollPanel extends React.Component {
// give the an explicit role=list because Safari+VoiceOver seems to think an ordered-list with
// list-style-type: none; is no longer a list
- return (
- { this.props.fixedChildren }
-