(feat): finish chat crypto migration
Some checks failed
/ build-web (push) Failing after 4m36s
/ build-desktop (linux) (push) Failing after 4m47s
/ build-mobile (push) Failing after 6m34s
/ release (push) Has been skipped

(wip): prep for full ECDH repo migration
This commit is contained in:
Alois 2026-07-06 19:23:37 +02:00
commit 2cd326d0b1
10 changed files with 195 additions and 339 deletions

View file

@ -84,6 +84,8 @@ function MessageComponent({
}
}, [load, message.SendTime, user?.UserId, send]);
useEffect(() => {
if (message.SentBySelf) return;
let cancelled = false;
async function run() {
@ -111,7 +113,7 @@ function MessageComponent({
return () => {
cancelled = true;
};
}, [message.MessageState, load, messageStateReadUpdate]);
}, [message.MessageState, load, messageStateReadUpdate, message.SentBySelf]);
// Check if message is a url
const [isValidURL, setIsValidURL] = useState(false);