Browse Source

Fix message sending

Getty Ritter 4 years ago
parent
commit
50841ec9b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/main.js

+ 1 - 1
static/main.js

@@ -72,7 +72,7 @@ class Socket {
     }
 
     post(author, content) {
-        this.socket.send(Messages.config(author, content));
+        this.socket.send(Messages.post(author, content));
     }
 }