diff options
author | Alex Auvolat <alex@adnab.me> | 2018-11-02 11:22:28 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-11-02 11:22:28 +0100 |
commit | 3baa53f1da7f581619b066832b8303efbe9a46ba (patch) | |
tree | d6b49bd09fa915b93e13f3a03febc7fb1b38e9a4 /shardweb/lib/views/identity_view.ex | |
parent | 80200dc43f271938fb14ec4eb4712e8dd7375aeb (diff) | |
download | shard-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.ex | 5 |
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 |