Explorar el Código

threema.d.ts: Contact locked and visible flags are required

See ARP, they will always be set.
Danilo Bargen hace 6 años
padre
commit
d7fbdbdc7e
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. 2 0
      src/services/webclient.ts
  2. 2 2
      src/threema.d.ts

+ 2 - 0
src/services/webclient.ts

@@ -3131,6 +3131,8 @@ export class WebClientService {
             featureMask: 0xFF,
             verificationLevel: 3,
             state: 'ACTIVE',
+            locked: false,
+            visible: true,
             hidden: false,
             access: {
                 canChangeAvatar: true,

+ 2 - 2
src/threema.d.ts

@@ -232,10 +232,10 @@ declare namespace threema {
         access: ReceiverAccess;
 
         // Whether the chat with this receiver is locked. Used for private chats.
-        locked?: boolean;
+        locked: boolean;
 
         // Whether the chat with this receiver is visible. Used for private chats.
-        visible?: boolean;
+        visible: boolean;
     }
 
     /**