From 5a6090a0fb6814201e4033c8f2875cd3f8c5d8b6 Mon Sep 17 00:00:00 2001
From: Asphyxia <dario.cavuotti@gmail.com>
Date: Mon, 14 Jan 2013 13:59:22 -0300
Subject: [PATCH] Issue #3846: Wrong message on mobile

---
 Changelog.md                      | 2 +-
 app/views/people/show.mobile.haml | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Changelog.md b/Changelog.md
index 14129e44b3..b5a1207798 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -27,7 +27,7 @@
 * Re-add hovercards [#3802](https://github.com/diaspora/diaspora/pull/3802)
 * Add images to notifications [#3821](https://github.com/diaspora/diaspora/pull/3821)
 * Show pod version in footer and updated the link to the changelog [#3822](https://github.com/diaspora/diaspora/pull/3822)
-* User interface enhancements [#3832](https://github.com/diaspora/diaspora/pull/3832), [#3839](https://github.com/diaspora/diaspora/pull/3839), [#3834](https://github.com/diaspora/diaspora/pull/3834), [#3840](https://github.com/diaspora/diaspora/issues/3840).
+* User interface enhancements [#3832](https://github.com/diaspora/diaspora/pull/3832), [#3839](https://github.com/diaspora/diaspora/pull/3839), [#3834](https://github.com/diaspora/diaspora/pull/3834), [#3840](https://github.com/diaspora/diaspora/issues/3840), [#3846](https://github.com/diaspora/diaspora/issues/3846).
 
 ## Bug Fixes
 
diff --git a/app/views/people/show.mobile.haml b/app/views/people/show.mobile.haml
index b6b6aa7b51..28cf9a18bf 100644
--- a/app/views/people/show.mobile.haml
+++ b/app/views/people/show.mobile.haml
@@ -39,5 +39,6 @@
   - else
     #main_stream
       %div{:style=>"text-align:center;", :class => "dull"}
+      - if user_signed_in? && (current_user.person != @person)
         = t('.has_not_shared_with_you_yet', :name => @person.first_name)
 
-- 
GitLab