diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-08-27 14:31:56 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-16 14:03:22 +0100 |
commit | d9c88eba4fe22688ef4f1503caa2deb74b1dc9e5 (patch) | |
tree | 418c000559721754a2b151ac143e12f7c93d6ef2 /lib | |
parent | a1538a90bbca7d37e506d92e52804c2386a3e716 (diff) |
Hide hidden outgoing messages in download.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/message_prominence.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/message_prominence.rb b/lib/message_prominence.rb index 9149a6b28..8f54fcc95 100644 --- a/lib/message_prominence.rb +++ b/lib/message_prominence.rb @@ -17,6 +17,10 @@ module MessageProminence self.prominence == 'normal' end + def all_can_view? + self.prominence == 'normal' + end + end end |