add contact as ctx to msg reg
This commit is contained in:
parent
486306d854
commit
c73f727adc
@ -29,6 +29,7 @@ Message3Registry* RegistryMessageModel::get(Contact3 c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto& reg_sh = _contact_messages[c] = std::make_unique<Message3Registry>();
|
auto& reg_sh = _contact_messages[c] = std::make_unique<Message3Registry>();
|
||||||
|
reg_sh->ctx().emplace<Contact3>(c);
|
||||||
return reg_sh.get();
|
return reg_sh.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user