refactor: uins

This commit is contained in:
手瓜一十雪 committed 2024-06-06 13:34:05 +08:00
1 parent d9025c7640
commit fa0f30fadd
2 files changed
+1 -61

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
if (!(await getFriend(payload.user_id))) {
if (
!ALLOW_SEND_TEMP_MSG &&
!(await dbUtil.getUidByTempUin(payload.user_id))
!(await NTQQUserApi.getUidByUin(payload.user_id))
) {
return { valid: false, message: '不能发送临时消息' };
}