Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8c34fa0 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Automerger Merge Worker
Browse files

Merge "csis: Do not notify new member if group is complete" am: e5670219

parents 95d24897 e5670219
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1203,6 +1203,12 @@ class CsisClientImpl : public CsisClient {
      return;
    }

    if (csis_group->GetDesiredSize() > 0 &&
        (csis_group->GetDesiredSize() == csis_group->GetCurrentSize())) {
      LOG_WARN("Group is already complete");
      return;
    }

    auto discovered_group_rsi = std::find_if(
        all_rsi.cbegin(), all_rsi.cend(), [&csis_group](const auto& rsi) {
          return csis_group->IsRsiMatching(rsi);