base/app/views/toolbar/_home.html.erb in social_stream-0.11.8 vs base/app/views/toolbar/_home.html.erb in social_stream-0.12.0
- old
+ new
@@ -5,10 +5,10 @@
<div id="menu_lateral" class="toolbar_menu">
<%= yield(:toolbar_menu).empty? ? home_toolbar_menu : yield(:toolbar_menu)%>
</div>
-<% if defined?(SocialStream::Presence) %>
+<% if defined?(SocialStream::Presence) and SocialStream::Presence.enable %>
<%= render :partial => 'xmpp/chat' %>
<% end %>
<div class="block space_center">
</div>