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) => { const augmentSelfEntity = async (entity) => {
if (entity) { if (entity) {
await entity.addTraits({ entity.initialFollow();
Followed: {},
});
entity.on('destroying', onDestroying); entity.on('destroying', onDestroying);
} }
flecks.set('$humus/app.selfEntity', entity); flecks.set('$humus/app.selfEntity', entity);