mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-31 21:24:27 +02:00
Update patches to v1.11.74
This commit is contained in:
parent
94c72f7f45
commit
642da40810
@ -1,4 +1,4 @@
|
||||
From 8393d51337eb16eefad2e9ebed84df4eb629d1dd Mon Sep 17 00:00:00 2001
|
||||
From 9afc676a319a686dfb58490c5fa4e28124d72149 Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Sat, 2 Dec 2023 12:57:26 +0100
|
||||
Subject: Add back schildi fetch-package.ts modifications
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 24823898379da994c52e71b9e32a0f9a46a60236 Mon Sep 17 00:00:00 2001
|
||||
From 0fe8387af0500390a3f17df263d95a22a2d8c9e0 Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Thu, 9 May 2024 09:21:21 +0200
|
||||
Subject: Add fields for media caption support
|
||||
|
@ -1,4 +1,4 @@
|
||||
From b6b0e7c794f277fc146378591cba74d242062adb Mon Sep 17 00:00:00 2001
|
||||
From 3e53e887c82ee5664ab447a3cd69df59fceaefde Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Tue, 18 Jan 2022 13:28:22 +0100
|
||||
Subject: Disable sticky rooms
|
||||
|
@ -1,4 +1,4 @@
|
||||
From cfe6cfc8a71b192e78b107282c4ef2e761d67e73 Mon Sep 17 00:00:00 2001
|
||||
From 8ce90622ede79277b901e147b3943cc5fee6a5cc Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Sun, 5 May 2024 10:12:17 +0200
|
||||
Subject: Bring back unified room list
|
||||
@ -16,7 +16,7 @@ Co-authored-by: su-ex <codeworks@supercable.onl>
|
||||
5 files changed, 83 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/components/views/rooms/RoomList.tsx b/src/components/views/rooms/RoomList.tsx
|
||||
index d088fbc927..ce54059ce9 100644
|
||||
index 7d47748de8..cec95bcf6d 100644
|
||||
--- a/src/components/views/rooms/RoomList.tsx
|
||||
+++ b/src/components/views/rooms/RoomList.tsx
|
||||
@@ -80,11 +80,13 @@ interface IState {
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 75b63406b604c6160c51b41218c1fa907a8d23f9 Mon Sep 17 00:00:00 2001
|
||||
From 1b346c3db9355aa2da0beb543a430e469fd17ec5 Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Sun, 17 Dec 2023 11:11:58 +0100
|
||||
Subject: Don't sort muted rooms to bottom, I still want to see them.
|
||||
|
@ -1,4 +1,4 @@
|
||||
From d80cf5809c115c8668123a00410f175c6d9e7af0 Mon Sep 17 00:00:00 2001
|
||||
From b5b2d8d9bca50d4ad43cd01a2c8f0ea8c3de9bcc Mon Sep 17 00:00:00 2001
|
||||
From: Tulir Asokan <tulir@maunium.net>
|
||||
Date: Tue, 12 Jul 2022 15:34:57 +0300
|
||||
Subject: Add support for rendering captions in media messages
|
||||
@ -22,7 +22,7 @@ index fcc204dae3..95cb2eb37d 100644
|
||||
+ OrigBodyType?: React.ComponentType<Partial<IBodyProps>>;
|
||||
}
|
||||
diff --git a/src/components/views/messages/MessageEvent.tsx b/src/components/views/messages/MessageEvent.tsx
|
||||
index db0016de7b..dd7a864300 100644
|
||||
index fb700579be..76f60bad76 100644
|
||||
--- a/src/components/views/messages/MessageEvent.tsx
|
||||
+++ b/src/components/views/messages/MessageEvent.tsx
|
||||
@@ -183,6 +183,15 @@ export default class MessageEvent extends React.Component<IProps> implements IMe
|
||||
@ -56,25 +56,20 @@ index db0016de7b..dd7a864300 100644
|
||||
+ <TextualBody {...{...props, ref: undefined}}/>
|
||||
+</div>)
|
||||
diff --git a/src/components/views/messages/TextualBody.tsx b/src/components/views/messages/TextualBody.tsx
|
||||
index 7246f7db57..4b5bf997ba 100644
|
||||
index 5dba3e42b7..f665e6dc67 100644
|
||||
--- a/src/components/views/messages/TextualBody.tsx
|
||||
+++ b/src/components/views/messages/TextualBody.tsx
|
||||
@@ -568,11 +568,14 @@ export default class TextualBody extends React.Component<IBodyProps, IState> {
|
||||
const content = mxEvent.getContent();
|
||||
let isNotice = false;
|
||||
let isEmote = false;
|
||||
+ let isCaption = false;
|
||||
@@ -565,6 +565,9 @@ export default class TextualBody extends React.Component<IBodyProps, IState> {
|
||||
const isNotice = content.msgtype === MsgType.Notice;
|
||||
const isEmote = content.msgtype === MsgType.Emote;
|
||||
|
||||
// only strip reply if this is the original replying event, edits thereafter do not have the fallback
|
||||
const stripReply = !mxEvent.replacingEvent() && !!getParentEventId(mxEvent);
|
||||
isEmote = content.msgtype === MsgType.Emote;
|
||||
isNotice = content.msgtype === MsgType.Notice;
|
||||
+ // @ts-ignore
|
||||
+ isCaption = [MsgType.Image, MsgType.File, MsgType.Audio, MsgType.Video].includes(content.msgtype);
|
||||
let body = HtmlUtils.bodyToHtml(content, this.props.highlights, {
|
||||
disableBigEmoji: isEmote || !SettingsStore.getValue<boolean>("TextualBody.enableBigEmoji"),
|
||||
// Part of Replies fallback support
|
||||
@@ -644,6 +647,14 @@ export default class TextualBody extends React.Component<IBodyProps, IState> {
|
||||
+ const isCaption = [MsgType.Image, MsgType.File, MsgType.Audio, MsgType.Video].includes(content.msgtype);
|
||||
+
|
||||
const willHaveWrapper =
|
||||
this.props.replacingEventId || this.props.isSeeingThroughMessageHiddenForModeration || isEmote;
|
||||
|
||||
@@ -643,6 +646,14 @@ export default class TextualBody extends React.Component<IBodyProps, IState> {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 35de14dd4f019ac9107d4701afd9bf62700a2b8c Mon Sep 17 00:00:00 2001
|
||||
From c53dd25c7ddd402ccb774a99fb0436c5c3694e98 Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Thu, 14 Dec 2023 10:32:10 +0100
|
||||
Subject: Don't preview reactions
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 135235d4a815897c53aea20e707c02fc54e2b3a1 Mon Sep 17 00:00:00 2001
|
||||
From d4c665355efa4c385cac9777476882d1fccdfad1 Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Wed, 17 Nov 2021 12:50:25 +0100
|
||||
Subject: Hide the "mute" notification state the same way as the other states
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 9feb3f479d2ebe44743b1fc38685aff7543e44a1 Mon Sep 17 00:00:00 2001
|
||||
From 48250ea097e6034d25c6b55666e33496062ad197 Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Fri, 10 May 2024 18:58:32 +0200
|
||||
Subject: Allow muted rooms to render as unread
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 9ac584b6e7f284309d5745ddd1ab2a3b75e599ea Mon Sep 17 00:00:00 2001
|
||||
From 9c91bdbdf95bb8969bf31d9b38b15ad4cfe5b736 Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Sun, 30 Aug 2020 15:33:01 +0200
|
||||
Subject: Increase default visible tiles
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 369a2e9890410af89bd6b1616df688dacb2d6837 Mon Sep 17 00:00:00 2001
|
||||
From 8f46bb8a3a76a3fc43be9ad1646a535507c8675a Mon Sep 17 00:00:00 2001
|
||||
From: su-ex <codeworks@supercable.onl>
|
||||
Date: Sun, 26 May 2024 10:43:36 +0200
|
||||
Subject: Bring back showSpaceDMBadges setting, force-enabled for now
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 84035e01f7cae9b04f85a3de1b2d1d3de1721c7f Mon Sep 17 00:00:00 2001
|
||||
From 486cc7ef0c6cc0e6e1e5df593a4bb2cecd2bb9f0 Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Wed, 29 May 2024 19:32:42 +0200
|
||||
Subject: Squashed: Freeform reactions from tadzik/freeform-reactions-upstream
|
||||
@ -118,7 +118,7 @@ index 16258bb3d7..847170dc92 100644
|
||||
<Preview emoji={this.state.previewEmoji} />
|
||||
) : (
|
||||
diff --git a/src/components/views/emojipicker/ReactionPicker.tsx b/src/components/views/emojipicker/ReactionPicker.tsx
|
||||
index 075a6e6cee..42cde47e56 100644
|
||||
index 8265331a3c..c29fc698aa 100644
|
||||
--- a/src/components/views/emojipicker/ReactionPicker.tsx
|
||||
+++ b/src/components/views/emojipicker/ReactionPicker.tsx
|
||||
@@ -131,6 +131,7 @@ class ReactionPicker extends React.Component<IProps, IState> {
|
||||
|
@ -1,4 +1,4 @@
|
||||
From d7276004230e0c9ac9669943c32b6bb8bd78e662 Mon Sep 17 00:00:00 2001
|
||||
From d72f4c25cc5fb819298adeb0874ad1e825ba2731 Mon Sep 17 00:00:00 2001
|
||||
From: su-ex <codeworks@supercable.onl>
|
||||
Date: Sat, 22 Apr 2023 12:15:18 +0200
|
||||
Subject: Allow reactions to take more space
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 278fd8faea2f3ac867355f0963dac02ab3562561 Mon Sep 17 00:00:00 2001
|
||||
From 4dc009cab3b625ec5509cf774ea98dc44ba04c77 Mon Sep 17 00:00:00 2001
|
||||
From: su-ex <codeworks@supercable.onl>
|
||||
Date: Thu, 30 May 2024 14:35:16 +0200
|
||||
Subject: On space switch don't automatically show last opened room
|
||||
@ -10,7 +10,7 @@ Subject: On space switch don't automatically show last opened room
|
||||
3 files changed, 24 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx
|
||||
index f9d6db3f53..6ea77af07e 100644
|
||||
index 8335b0e3f6..fdaec88357 100644
|
||||
--- a/src/components/structures/MatrixChat.tsx
|
||||
+++ b/src/components/structures/MatrixChat.tsx
|
||||
@@ -1437,7 +1437,15 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 15f1a5fa1432ad89a2fd9fe8e9f0976f53df46e9 Mon Sep 17 00:00:00 2001
|
||||
From f60cd86c579382085e9ad5d2a29f107b155d335a Mon Sep 17 00:00:00 2001
|
||||
From: SpiritCroc <dev@spiritcroc.de>
|
||||
Date: Tue, 9 Aug 2022 09:32:19 +0200
|
||||
Subject: Exclude spaces from breadcrumbs
|
||||
|
Loading…
x
Reference in New Issue
Block a user