π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: ignore message type
httpjamesmda6f1fa80122
diff --git a/apps/cast/src/pages/index.tsx b/apps/cast/src/pages/index.tsxindex 2cbd48a9cf..7d09fa4d6a 100644--- a/apps/cast/src/pages/index.tsx+++ b/apps/cast/src/pages/index.tsx@@ -70,17 +70,17 @@ export default function PairingMode() {senderId: string;data: any;}) => {- if (message.type === 'urn:x-cast:pair-request') {- // send the 6 digit code to the sender-- cast.framework.CastReceiverContext.getInstance().sendCustomMessage(- 'urn:x-cast:pair-response',- message.senderId,- {- code: digits.join(''),- }- );- }+ // if (message.type === 'urn:x-cast:pair-request') {+ // send the 6 digit code to the sender++ cast.framework.CastReceiverContext.getInstance().sendCustomMessage(+ 'urn:x-cast:pair-response',+ message.senderId,+ {+ code: digits.join(''),+ }+ );+ // }};const init = async () => {