Sha256: 891d3d32fff2084cb845676bec1d0e1e7cca2c9fe8d5ae4dc57dfa697bdba67c

Contents?: true

Size: 302 Bytes

Versions: 52

Compression:

Stored size: 302 Bytes

Contents

#
# ref. http://www.cozmixng.org/retro/projects/tdiary/ticket/60
#

module TDiary::Filter
   class HidecommentFilter < Filter
      def comment_filter( diary, comment )
         comment.show = false # ツッコミを非表示にするが
         true # spam扱いにはしない
      end
   end
end

Version data entries

52 entries across 46 versions & 2 rubygems

Version Path
tdiary-contrib-5.3.0 filter/hidecomment.rb
tdiary-contrib-5.2.4 filter/hidecomment.rb
tdiary-contrib-5.2.3 filter/hidecomment.rb
tdiary-contrib-5.2.2 filter/hidecomment.rb
tdiary-contrib-5.2.1 filter/hidecomment.rb
tdiary-contrib-5.2.0 filter/hidecomment.rb
tdiary-contrib-5.1.7 filter/hidecomment.rb
tdiary-contrib-5.1.6 filter/hidecomment.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/filter/hidecomment.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/bundler/gems/tdiary-contrib-d1e41204db13/filter/hidecomment.rb
tdiary-contrib-5.1.5 filter/hidecomment.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/filter/hidecomment.rb
tdiary-contrib-5.1.4 filter/hidecomment.rb
tdiary-contrib-5.1.3 filter/hidecomment.rb
tdiary-contrib-5.1.2 filter/hidecomment.rb
tdiary-contrib-5.1.1 filter/hidecomment.rb
tdiary-contrib-5.1.0 filter/hidecomment.rb
tdiary-contrib-5.0.13 filter/hidecomment.rb
tdiary-contrib-5.0.12 filter/hidecomment.rb
tdiary-contrib-5.0.11 filter/hidecomment.rb