{JSON.stringify(mxEvent, null, 4)}; + } else { + content =
{`{ "type": ${mxEvent.getType()} }`}
;
+ }
+
+ const classes = classNames("mx_ViewSourceEvent mx_EventTile_content", {
+ mx_ViewSourceEvent_expanded: expanded,
+ });
+
+ return
+ {content}
+
+ ;
+ }
+}
diff --git a/src/components/views/rooms/Autocomplete.js b/src/components/views/rooms/Autocomplete.js
index a19a4eaad0..466deeba28 100644
--- a/src/components/views/rooms/Autocomplete.js
+++ b/src/components/views/rooms/Autocomplete.js
@@ -256,8 +256,6 @@ export default class Autocomplete extends React.Component {
}
render() {
- const EmojiText = sdk.getComponent('views.elements.EmojiText');
-
let position = 1;
const renderedCompletions = this.state.completions.map((completionResult, i) => {
const completions = completionResult.completions.map((completion, i) => {
@@ -282,7 +280,7 @@ export default class Autocomplete extends React.Component {
return completions.length > 0 ? (
{encryptedMessageAreEncrypted}
-{_t("This device is backing up your keys. ")}
✅ {_t("This device is backing up your keys. ")}