@xuda.io/account_module 1.2.1797 → 1.2.1799
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1143,8 +1143,10 @@ const get_contact_pattern = async function (doc) {
|
|
|
1143
1143
|
if (doc?.shared_from_uid) {
|
|
1144
1144
|
const shared_from_uid_ret = await get_account_name({ uid_query: doc.shared_from_uid });
|
|
1145
1145
|
ret = shared_from_uid_ret.data.profile_avatar;
|
|
1146
|
-
} else if (doc.
|
|
1146
|
+
} else if (doc.profile_avatar_stat === 1) {
|
|
1147
1147
|
ret = `processing-pattern.png`;
|
|
1148
|
+
} else if (doc.profile_avatar_stat === 2) {
|
|
1149
|
+
ret = `pending-pattern.png`;
|
|
1148
1150
|
} else if (doc.is_spam) {
|
|
1149
1151
|
ret = `spam-pattern.png`;
|
|
1150
1152
|
} else {
|