@onyx-p/imlib-web 2.5.0 → 2.5.1
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.esm.js +3 -3
- package/index.umd.js +3 -3
- package/package.json +1 -1
- package/types/model/mentionedInfo.d.ts +1 -1
package/index.esm.js
CHANGED
@@ -29138,9 +29138,9 @@ async function send(message, sentArgs) {
|
|
29138
29138
|
};
|
29139
29139
|
if (isDef(message.content.mentionedInfo)) {
|
29140
29140
|
const mentionedInfo = message.content.mentionedInfo;
|
29141
|
-
if (mentionedInfo.
|
29142
|
-
groupParams.at = mentionedInfo.
|
29143
|
-
const mentionedDetail = JSON.stringify(mentionedInfo.
|
29141
|
+
if (mentionedInfo.userList?.length) {
|
29142
|
+
groupParams.at = mentionedInfo.userList.map(e => Long.fromString(e.uin));
|
29143
|
+
const mentionedDetail = JSON.stringify(mentionedInfo.userList);
|
29144
29144
|
groupParams.msgPreContent = mentionedDetail;
|
29145
29145
|
}
|
29146
29146
|
}
|
package/index.umd.js
CHANGED
@@ -29144,9 +29144,9 @@
|
|
29144
29144
|
};
|
29145
29145
|
if (isDef(message.content.mentionedInfo)) {
|
29146
29146
|
const mentionedInfo = message.content.mentionedInfo;
|
29147
|
-
if (mentionedInfo.
|
29148
|
-
groupParams.at = mentionedInfo.
|
29149
|
-
const mentionedDetail = JSON.stringify(mentionedInfo.
|
29147
|
+
if (mentionedInfo.userList?.length) {
|
29148
|
+
groupParams.at = mentionedInfo.userList.map(e => Long.fromString(e.uin));
|
29149
|
+
const mentionedDetail = JSON.stringify(mentionedInfo.userList);
|
29150
29150
|
groupParams.msgPreContent = mentionedDetail;
|
29151
29151
|
}
|
29152
29152
|
}
|
package/package.json
CHANGED