Skip to content

Commit

Permalink
fix heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
reitowo committed Jun 2, 2024
1 parent 951f904 commit 2d2b102
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/room_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ void RoomServer::createRoom(const vts::server::ReqCreateRoom& req) {

this->roomId = rsp.roomid();
emit room->onRoomInfoSucceed(rsp);

startReceiveNotify();
});
CollabRoom::connect(worker, &QThread::finished, worker, &QThread::deleteLater);
worker->setParent(room);
Expand Down Expand Up @@ -153,7 +151,6 @@ void RoomServer::joinRoom(const std::string& peerId, const std::string& roomId,
return;
}

startReceiveNotify();
emit room->onRoomInfoSucceed(rsp);
});
CollabRoom::connect(worker, &QThread::finished, worker, &QThread::deleteLater);
Expand Down
1 change: 1 addition & 0 deletions proto/vts_server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ message ReqCreateRoom {
FrameFormatSetting format = 2;
string nick = 4;
string turn = 5;
optional string reclaimRoomId = 6;
}

message ReqJoinRoom {
Expand Down
1 change: 1 addition & 0 deletions ui/windows/collabroom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ void CollabRoom::roomInfoSucceed(const vts::server::RspRoomInfo &info) {
activateWindow();

isRoomInfoReady = true;
roomServer->startReceiveNotify();
}

void CollabRoom::roomInfoFailed(const string &error) {
Expand Down

0 comments on commit 2d2b102

Please sign in to comment.