@xuda.io/account_module 1.2.850 → 1.2.852
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1268,7 +1268,7 @@ const get_contact_pattern = async function (doc) {
|
|
|
1268
1268
|
break;
|
|
1269
1269
|
}
|
|
1270
1270
|
}
|
|
1271
|
-
} else if (doc?.shared_from_uid) {
|
|
1271
|
+
} else if (pending && doc?.shared_from_uid) {
|
|
1272
1272
|
// pending share request
|
|
1273
1273
|
const shared_from_uid_ret = await get_account_name({ uid_query: doc.shared_from_uid });
|
|
1274
1274
|
ret = shared_from_uid_ret.data.profile_avatar;
|