summaryrefslogtreecommitdiff
path: root/helpers.rb
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-07-30 01:27:51 +0200
committerpdp8 <pdp8@pdp8.info>2023-07-30 01:27:51 +0200
commit25bdc789215c728e6fac04404adcf1f8e4bcdd78 (patch)
treefabf21feea41ef2cedcca5f69480ee39c652b114 /helpers.rb
parentc50f749a2685a3e7608cec8730f5fe79de4676ac (diff)
html links for outbox notes
Diffstat (limited to 'helpers.rb')
-rw-r--r--helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.rb b/helpers.rb
index 7a56ec1..4940b34 100644
--- a/helpers.rb
+++ b/helpers.rb
@@ -11,7 +11,7 @@ helpers do
activity_rel_path = File.join(activity['type'].downcase, basename)
activity_path = File.join(box[:dir], activity_rel_path)
if box == OUTBOX
- return unless activity['to'].include? 'https://www.w3.org/ns/activitystreams#Public' # save only public messages
+ # return unless activity['to'].include? 'https://www.w3.org/ns/activitystreams#Public' # save only public messages
activity['id'] = File.join(box[:url], activity_rel_path)
activity['object']['published'] = date unless activity['object'].is_a? String