Przeglądaj źródła

Fix message sending

Getty Ritter 4 lat temu
rodzic
commit
50841ec9b8
1 zmienionych plików z 1 dodań i 1 usunięć
  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));
     }
 }