xmpp_chat.rhtml 172 Bytes Edit Raw Blame History 1 2 3 4 5 <% if profile.members.include?(user) %> <li> <%= button_to_function(:chat, _('Enter chat room'), "open_chat_window(this, '##{profile.full_jid}')") %> </li> <% end %>