user 6 năm trước cách đây
mục cha
commit
7fd325d8d5
3 tập tin đã thay đổi với 3 bổ sung3 xóa
  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 || [];

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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 || [];