@xuda.io/account_module 1.2.1761 → 1.2.1763
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/index.mjs +3 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1142,17 +1142,15 @@ const get_contact_pattern = async function (doc) {
|
|
|
1142
1142
|
debugger;
|
|
1143
1143
|
|
|
1144
1144
|
if (doc?.shared_from_uid) {
|
|
1145
|
-
//&& (doc.pending || (doc.team_req_id && doc.contact_share_copy))) {
|
|
1146
|
-
// pending or active share request
|
|
1147
1145
|
const shared_from_uid_ret = await get_account_name({ uid_query: doc.shared_from_uid });
|
|
1148
1146
|
ret = shared_from_uid_ret.data.profile_avatar;
|
|
1149
1147
|
} else {
|
|
1150
1148
|
}
|
|
1151
1149
|
|
|
1152
1150
|
if (doc.account_type === 'business') {
|
|
1153
|
-
if (doc?.is_real_person) {
|
|
1154
|
-
|
|
1155
|
-
}
|
|
1151
|
+
// if (doc?.is_real_person) {
|
|
1152
|
+
ret = doc.profile_picture;
|
|
1153
|
+
// }
|
|
1156
1154
|
} else {
|
|
1157
1155
|
// if (doc.my_contact) {
|
|
1158
1156
|
// if (doc.account_type === 'business') {
|