mirror of
https://github.com/JustKato/FreePad.git
synced 2026-04-06 03:48:47 +03:00
* Fixed possible bug
This commit is contained in:
@@ -40,7 +40,7 @@ class PadSocket {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check if the message is a string
|
// Check if the message is a string
|
||||||
if ( typeof message == 'string' ) {
|
if ( typeof message !== 'object' ) {
|
||||||
// Convert the message into a map[string]interface{}
|
// Convert the message into a map[string]interface{}
|
||||||
message = {
|
message = {
|
||||||
"message": message,
|
"message": message,
|
||||||
|
|||||||
Reference in New Issue
Block a user