Skip to content
Permalink
Browse files

Messages: fix user registration status not being updated

  • Loading branch information...
davidebeatrici committed Dec 9, 2018
1 parent 9b19e60 commit bb245f86b5eac84c07bb820e7e1a863203b10f50
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/mumble/Messages.cpp
@@ -286,10 +286,6 @@ void MainWindow::msgUserState(const MumbleProto::UserState &msg) {
pmModel->moveUser(pDst, channel);
}

if (msg.has_user_id()) {
pmModel->setUserId(pDst, msg.user_id());
}

if (msg.has_hash()) {
pmModel->setHash(pDst, u8(msg.hash()));
}
@@ -303,6 +299,10 @@ void MainWindow::msgUserState(const MumbleProto::UserState &msg) {
}
}

if (msg.has_user_id()) {
pmModel->setUserId(pDst, msg.user_id());
}

if (channel) {
Channel *oldChannel = pDst->cChannel;
if (channel != oldChannel) {

0 comments on commit bb245f8

Please sign in to comment.
You can’t perform that action at this time.