schildichat-desktop/patches/element-web/0020-No-damn-avatar-background-in-room-list.patch

27 lines
823 B
Diff

From da372cc9cf48128a4918917298c3904f0773e7ae Mon Sep 17 00:00:00 2001
From: su-ex <codeworks@supercable.onl>
Date: Tue, 7 Sep 2021 19:41:52 +0200
Subject: No damn avatar background in room list
---
src/components/structures/BackdropPanel.tsx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/components/structures/BackdropPanel.tsx b/src/components/structures/BackdropPanel.tsx
index 80c21235cc..a9c464f4b2 100644
--- a/src/components/structures/BackdropPanel.tsx
+++ b/src/components/structures/BackdropPanel.tsx
@@ -13,6 +13,9 @@ interface IProps {
}
export const BackdropPanel: React.FC<IProps> = ({ backgroundImage, blurMultiplier }) => {
+ // SC: no damn avatar background in room list
+ return null;
+
if (!backgroundImage) return null;
const styles: CSSProperties = {};
--
2.47.0