about summary refs log tree commit diff
path: root/app/models/account.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-01 13:21:48 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-01 13:21:48 +0200
commit595c8dda60746e171dbbb905b355561334e2a5c8 (patch)
tree92ed382b5c84f31534b081312ffc8d21f5f30074 /app/models/account.rb
parentc2a4d702652c27feeda9eda4c00c78325584af6c (diff)
Favouriting works, reblogging is a little broken because of <Status>
Diffstat (limited to 'app/models/account.rb')
-rw-r--r--app/models/account.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index cc050dfa3..8b6300e35 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -75,7 +75,7 @@ class Account < ApplicationRecord
   end
 
   def ping!(atom_url, hubs)
-    return unless local?
+    return unless local? && !Rails.env.development?
     OStatus2::Publication.new(atom_url, hubs).publish
   end