aboutsummaryrefslogtreecommitdiff
path: root/shard/lib/app/identity.ex
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-11-02 11:22:28 +0100
committerAlex Auvolat <alex@adnab.me>2018-11-02 11:22:28 +0100
commit3baa53f1da7f581619b066832b8303efbe9a46ba (patch)
treed6b49bd09fa915b93e13f3a03febc7fb1b38e9a4 /shard/lib/app/identity.ex
parent80200dc43f271938fb14ec4eb4712e8dd7375aeb (diff)
downloadshard-3baa53f1da7f581619b066832b8303efbe9a46ba.tar.gz
shard-3baa53f1da7f581619b066832b8303efbe9a46ba.zip
Remove friends list ; add some links
Diffstat (limited to 'shard/lib/app/identity.ex')
-rw-r--r--shard/lib/app/identity.ex13
1 files changed, 3 insertions, 10 deletions
diff --git a/shard/lib/app/identity.ex b/shard/lib/app/identity.ex
index 468906f..69bed93 100644
--- a/shard/lib/app/identity.ex
+++ b/shard/lib/app/identity.ex
@@ -79,16 +79,9 @@ defmodule SApp.Identity do
end
def handle_cast(:send_deps, state) do
- default_deps =
- if Shard.Keys.have_sk?(state.pk) do
- [
- %SApp.Directory.Manifest{owner: state.pk, public: false, name: "friends"}
- ]
- else
- []
- end
-
- GenServer.cast(Shard.Manager, {:dep_list, state.id, default_deps})
+ # TODO: collections
+
+ GenServer.cast(Shard.Manager, {:dep_list, state.id, []})
{:noreply, state}
end