Skip to content

Commit

Permalink
jamiaccount: refresh deviceAnnounced_
Browse files Browse the repository at this point in the history
deviceAnnounced_ should be cleared if unregistered, to be valid for
next annoucement

Change-Id: I35d62e01d11780d4b30c312ec695b9cb0321d618
  • Loading branch information
Sébastien Blin committed Jan 3, 2022
1 parent f2cf4ed commit 4b778bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jamidht/jamiaccount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2416,6 +2416,7 @@ JamiAccount::setRegistrationState(RegistrationState state,
} else if (state == RegistrationState::TRYING) {
JAMI_WARN("[Account %s] connecting…", getAccountID().c_str());
} else {
deviceAnnounced_ = false;
JAMI_WARN("[Account %s] disconnected", getAccountID().c_str());
}
}
Expand Down

0 comments on commit 4b778bb

Please sign in to comment.