diff --git a/assets/logo.svg b/assets/logo.svg
new file mode 100644
index 0000000..91157b6
--- /dev/null
+++ b/assets/logo.svg
@@ -0,0 +1,105 @@
+
+
diff --git a/config.json b/config.json
index 579b286..11516f9 100644
--- a/config.json
+++ b/config.json
@@ -12,7 +12,12 @@
"disable_guests": false,
"disable_login_language_selector": false,
"disable_3pid_login": false,
- "brand": "Element",
+ "brand": "Spaccamient",
+ "branding": {
+ "auth_footer_links": [
+ { "text": "Git", "url": "https://github.com/Spacc-Inc/Spaccamient" }
+ ]
+ },
"integrations_ui_url": "https://scalar.vector.im/",
"integrations_rest_url": "https://scalar.vector.im/api",
"integrations_widgets_urls": [
diff --git a/element-web/src/vector/index.ts b/element-web/src/vector/index.ts
index 10f7a62..a3ee4ef 100644
--- a/element-web/src/vector/index.ts
+++ b/element-web/src/vector/index.ts
@@ -134,18 +134,18 @@ async function start(): Promise {
// verifying a 3pid (but after we've loaded the config)
// or if the user is following a deep link
// (https://github.com/vector-im/element-web/issues/7378)
- const preventRedirect = fragparts.params.client_secret || fragparts.location.length > 0;
+ //const preventRedirect = fragparts.params.client_secret || fragparts.location.length > 0;
- if (!preventRedirect) {
- const isIos = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
- const isAndroid = /Android/.test(navigator.userAgent);
- if (isIos || isAndroid) {
- if (document.cookie.indexOf("element_mobile_redirect_to_guide=false") === -1) {
- window.location.href = "mobile_guide/";
- return;
- }
- }
- }
+ //if (!preventRedirect) {
+ // const isIos = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
+ // const isAndroid = /Android/.test(navigator.userAgent);
+ // if (isIos || isAndroid) {
+ // if (document.cookie.indexOf("element_mobile_redirect_to_guide=false") === -1) {
+ // window.location.href = "mobile_guide/";
+ // return;
+ // }
+ // }
+ //}
const loadOlmPromise = loadOlm();
// set the platform for react sdk
diff --git a/matrix-react-sdk/src/components/views/rooms/LegacyRoomHeader.tsx b/matrix-react-sdk/src/components/views/rooms/LegacyRoomHeader.tsx
index b50f7b6..2478dab 100644
--- a/matrix-react-sdk/src/components/views/rooms/LegacyRoomHeader.tsx
+++ b/matrix-react-sdk/src/components/views/rooms/LegacyRoomHeader.tsx
@@ -855,7 +855,6 @@ export default class RoomHeader extends React.Component {
{
- document.getElementsByClassName('mx_LeftPanel_outerWrapper')[0].style.display="";
defaultDispatcher.dispatch({
action: Action.ViewHomePage,
});
diff --git a/matrix-react-sdk/src/components/views/rooms/RoomTile.tsx b/matrix-react-sdk/src/components/views/rooms/RoomTile.tsx
index 8f926b7..fd2156c 100644
--- a/matrix-react-sdk/src/components/views/rooms/RoomTile.tsx
+++ b/matrix-react-sdk/src/components/views/rooms/RoomTile.tsx
@@ -246,7 +246,6 @@ export class RoomTile extends React.PureComponent {
metricsTrigger: "RoomList",
metricsViaKeyboard: ev.type !== "click",
});
- document.getElementsByClassName('mx_LeftPanel_outerWrapper')[0].style.display="none";
};
private onActiveRoomUpdate = (isActive: boolean): void => {
diff --git a/matrix-react-sdk/src/stores/RoomViewStore.tsx b/matrix-react-sdk/src/stores/RoomViewStore.tsx
index c47114e..6459050 100644
--- a/matrix-react-sdk/src/stores/RoomViewStore.tsx
+++ b/matrix-react-sdk/src/stores/RoomViewStore.tsx
@@ -282,6 +282,7 @@ export class RoomViewStore extends EventEmitter {
wasContextSwitch: false,
viewingCall: false,
});
+ document.getElementsByClassName('mx_LeftPanel_outerWrapper')[0].style.display = "";
doClearCurrentVoiceBroadcastPlaybackIfStopped(this.stores.voiceBroadcastPlaybacksStore);
break;
case "MatrixActions.RoomState.events":
@@ -409,6 +410,8 @@ export class RoomViewStore extends EventEmitter {
});
}
+ document.getElementsByClassName('mx_LeftPanel_outerWrapper')[0].style.display = "none";
+
if (SettingsStore.getValue("feature_sliding_sync") && this.state.roomId !== payload.room_id) {
if (this.state.subscribingRoomId && this.state.subscribingRoomId !== payload.room_id) {
// unsubscribe from this room, but don't await it as we don't care when this gets done.