MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / can_process_commit

Method can_process_commit

src/dpp/dave/session.cpp:306–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306bool session::can_process_commit(const ::mlspp::MLSMessage& commit) noexcept
307{
308 if (!state_with_proposals) {
309 return false;
310 }
311
312 if (commit.group_id() != session_group_id) {
313 creator.log(dpp::ll_warning, "MLS commit message was for unexpected group");
314 return false;
315 }
316
317 return true;
318}
319
320roster_variant session::process_commit(std::vector<uint8_t> commit) noexcept
321try {

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected