diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-06 14:19:04 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-06 14:19:04 -0500 |
commit | b564aac6f35ea3f5e04a2906b1d8996dc840d910 (patch) | |
tree | 38db8727dfad3b76f1e56acb92211c4dd9d46c6b | |
parent | da389a664b87bb131435f2ccb904c0754d5d1655 (diff) |
`account:` output posts auto-expire after 1 hour
-rw-r--r-- | app/lib/bangtags.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index 7a6a1cbd1..c89146035 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -720,6 +720,7 @@ class Bangtags @status.visibility = :direct @status.local_only = true @status.content_type = 'text/markdown' + @status.delete_after = 1.hour @chunks << "\n# <code>#!</code><code>account:#{c.downcase}</code>:\n<hr />\n" output = [] case c.downcase |