dont fingerprint machine clients

This commit is contained in:
miloschwartz
2026-02-09 14:41:40 -08:00
committed by Owen
parent 766606b08d
commit a49a9f8e3b
4 changed files with 17 additions and 4 deletions

View File

@@ -53,7 +53,11 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => {
postures
});
await handleFingerprintInsertion(olm, fingerprint, postures);
const isUserDevice = olm.userId !== null && olm.userId !== undefined;
if (isUserDevice) {
await handleFingerprintInsertion(olm, fingerprint, postures);
}
if (
(olmVersion && olm.version !== olmVersion) ||