add contact as ctx to msg reg

This commit is contained in:
Green Sky 2024-02-15 00:16:30 +01:00
parent 486306d854
commit c73f727adc
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ Message3Registry* RegistryMessageModel::get(Contact3 c) {
}
auto& reg_sh = _contact_messages[c] = std::make_unique<Message3Registry>();
reg_sh->ctx().emplace<Contact3>(c);
return reg_sh.get();
}