Browse Source

Also update peeps on change

master
Joshua Moerman 9 years ago
parent
commit
e7647f5fe5
  1. 1
      src/main.cpp

1
src/main.cpp

@ -61,6 +61,7 @@ websockets::TestProtocol<User> default_protocol{
} else if (command == "update user") {
user = from_json<IncomingPacket>(object["data"]);
std::cout << "Updated user: " << &user << ": " << user.name << std::endl;
app->peeps = true;
} else if (command == "poll") {
request_write(binfo);
}