<commit_before>module Socialcastr
  class Like < Base
    def unlikable_by?(api_id)
      unlikable && api_id == self.user.id ? true : false
    end
  end
end
<commit_msg>when checking if a message/comment is unlikable, we should rely just on the user ids, since the unlikable flag depends on the current connection's user<commit_after>module Socialcastr
  class Like < Base
    def unlikable_by?(api_id)
      api_id == self.user.id ? true : false
    end
  end
end

{'fraction_non_alphanumeric': 0.06852248394004283, 'fraction_numerical': 0.0, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '6402258', 'n_tokens_mistral': 149, 'n_tokens_neox': 149, 'n_words': 53}