aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/views/identity_view.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 /shardweb/lib/views/identity_view.ex
parent80200dc43f271938fb14ec4eb4712e8dd7375aeb (diff)
downloadshard-3baa53f1da7f581619b066832b8303efbe9a46ba.tar.gz
shard-3baa53f1da7f581619b066832b8303efbe9a46ba.zip
Remove friends list ; add some links
Diffstat (limited to 'shardweb/lib/views/identity_view.ex')
-rw-r--r--shardweb/lib/views/identity_view.ex5
1 files changed, 0 insertions, 5 deletions
diff --git a/shardweb/lib/views/identity_view.ex b/shardweb/lib/views/identity_view.ex
index 86423b2..1844ce8 100644
--- a/shardweb/lib/views/identity_view.ex
+++ b/shardweb/lib/views/identity_view.ex
@@ -18,9 +18,4 @@ defmodule ShardWeb.IdentityView do
end
end)
end
-
- def is_friend(conn, pk) do
- fd = SApp.Directory.friends_dir(conn.assigns.pk)
- SApp.Directory.find(fd, %SApp.Identity.Manifest{pk: pk}) != nil
- end
end