user 6 tahun lalu
induk
melakukan
7fd325d8d5
3 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 1 1
      lib/contact-item.js
  2. 1 1
      lib/contact-item.js.map
  3. 1 1
      src/contact-item.ts

+ 1 - 1
lib/contact-item.js

@@ -5,7 +5,7 @@ class ContactItem {
         this.data = props;
         this.hash = props.hash;
         this.id = props.id;
-        this.canSendFromAddrs = props.canSendFromAddrs || false;
+        this.canSendFromAddrs = props.canSendFromAddrs || [];
         this.addrs = props.addrs || [];
         this.groups = props.groups || [];
         this.names = props.names || [];

File diff ditekan karena terlalu besar
+ 1 - 1
lib/contact-item.js.map


+ 1 - 1
src/contact-item.ts

@@ -15,7 +15,7 @@ export class ContactItem {
     this.data = props;
     this.hash = props.hash;
     this.id = props.id;
-    this.canSendFromAddrs = props.canSendFromAddrs || false;
+    this.canSendFromAddrs = props.canSendFromAddrs || [];
     this.addrs = props.addrs || [];
     this.groups = props.groups || [];
     this.names = props.names || [];