优化细节表现
This commit is contained in:
1 parent
dd56403d93
commit
0389c8b7fe
3 files changed
+6
-2
No files matched your search
+1
-1
@@ -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 }))
|
||||
|
||||
Reference in new issue
Block a user