fix attachment name decryption
All checks were successful
Android Build / publish (push) Successful in 1m1s
Linux Build / publish (push) Successful in 1m4s

This commit is contained in:
olcxja 2026-08-10 10:17:25 +02:00
commit 901bc58382
2 changed files with 2 additions and 2 deletions

View file

@ -3030,9 +3030,9 @@ async function generateMessagesHtml(entries, isPinnedContext = false) {
let content = msg.content;
let reactions = msg.reactions || "";
let decrypted = false;
let keyToUse = currentDmKey;
if (msg.key && msg.key !== "") {
try {
let keyToUse = currentDmKey;
if (window.currentRoomType === 'groups') {
keyToUse = await getGroupKey(currentDmId, msg.key);
if (keyToUse) {

View file

@ -3030,9 +3030,9 @@ async function generateMessagesHtml(entries, isPinnedContext = false) {
let content = msg.content;
let reactions = msg.reactions || "";
let decrypted = false;
let keyToUse = currentDmKey;
if (msg.key && msg.key !== "") {
try {
let keyToUse = currentDmKey;
if (window.currentRoomType === 'groups') {
keyToUse = await getGroupKey(currentDmId, msg.key);
if (keyToUse) {