refactor: initialFollow

This commit is contained in:
cha0s 2022-05-01 10:17:22 -05:00
parent f54b6fc1d6
commit af32353790

View File

@ -23,9 +23,7 @@ export default () => {
};
const augmentSelfEntity = async (entity) => {
if (entity) {
await entity.addTraits({
Followed: {},
});
entity.initialFollow();
entity.on('destroying', onDestroying);
}
flecks.set('$humus/app.selfEntity', entity);