diff --git a/app/views/users/user_messages.html.erb b/app/views/users/user_messages.html.erb
index 9d1532282..ab030f6c9 100644
--- a/app/views/users/user_messages.html.erb
+++ b/app/views/users/user_messages.html.erb
@@ -292,12 +292,14 @@
<%= ma.project %>
+ <% if User.current == @user %>
<%=link_to "同意加入", {:controller => 'projects', :action => 'member', :id => ma.project_id, :message_id =>ma.id, :key => ma.secret_key},
:value => ma.secret_key,
:class => "green_btn_cir ml10",
:style => "color:#fff" %>
+ <% end %>
<%= time_tag(ma.created_at).html_safe %>
<% end %>