wx2tg-puppet 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/Contact.js +3 -5
- package/package.json +1 -1
package/dist/core/Contact.js
CHANGED
|
@@ -75,11 +75,9 @@ class Contact {
|
|
|
75
75
|
*/
|
|
76
76
|
sync() {
|
|
77
77
|
return __awaiter(this, void 0, void 0, function* () {
|
|
78
|
-
config_service_1.configService.get()
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
});
|
|
82
|
-
});
|
|
78
|
+
const config = yield config_service_1.configService.get();
|
|
79
|
+
const contact = yield Contact.fetchAndUpsertContactDetail((config === null || config === void 0 ? void 0 : config.wxid) || '', this.id);
|
|
80
|
+
this.contact = contact;
|
|
83
81
|
});
|
|
84
82
|
}
|
|
85
83
|
/**
|