<commit_before><% render :partial => 'me/messages/tabs' %>

<div style='padding-bottom: 1em'>
<%= display_entity(@user, :type => :twolines, :avatar => :medium, :block => true) %>
</div>

<div id="posts">
  <table border="0" cellspacing="0" cellpadding="0" class="posts">
    <% if may_create_private_message?(@user) %>
      <%= render :partial => 'posts/reply',
         :locals => {:show => true, :form_method => :put, :url => my_private_message_url(@user)} %>
    <% end %>

    <%= post_pagination_links %>

    <%- for post in @posts do -%>
      <%= render :partial => 'posts/post', :locals => {:post => post} %>
    <%- end -%>

    <%= post_pagination_links %>
  </table>
</div>
<commit_msg>fixed permissions for creating a private message. closes #1152<commit_after><% render :partial => 'me/messages/tabs' %>

<div style='padding-bottom: 1em'>
<%= display_entity(@recipient, :type => :twolines, :avatar => :medium, :block => true) %>
</div>

<div id="posts">
  <table border="0" cellspacing="0" cellpadding="0" class="posts">
    <% if may_create_private_message?(@recipient) %>
      <%= render :partial => 'posts/reply',
         :locals => {:show => true, :form_method => :put, :url => my_private_message_url(@recipient)} %>
    <% end %>

    <%= post_pagination_links %>

    <%- for post in @posts do -%>
      <%= render :partial => 'posts/post', :locals => {:post => post} %>
    <%- end -%>

    <%= post_pagination_links %>
  </table>
</div>

{'fraction_non_alphanumeric': 0.21751025991792067, 'fraction_numerical': 0.008207934336525308, 'mean_word_length': 3.781045751633987, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2224040', 'n_tokens_mistral': 551, 'n_tokens_neox': 496, 'n_words': 110}