优化细节表现

This commit is contained in:
539943419 committed 2024-04-03 12:45:13 +08:00
1 parent dd56403d93
commit 0389c8b7fe
3 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -283,7 +283,7 @@ function joinGroup_Verify(gID) {
}
function sendMsg(gID, msg) {
if(msg === '' || activeGID.value === null)return
if(msg === '' || msg === null || activeGID.value === null)return
let key = gID2key[gID].key
msg = encryptString(key, msg, setting)
socket.send(JSON.stringify({ type: 'message',type1:'text', msg, gID }))