OS -> AP migration test 🤔 

Account.where(protocol: 0, domain: Account.where(protocol: 1).distinct.pluck(:domain)).each do |a|
acct = "#{a.username}@#{a.domain}"
puts "resolve: #{acct}"
begin
ResolveRemoteAccountService.new.call(acct)
rescue => e
puts e
end
sleep 0.5
end; 1

フォロー

APと認識されているアカウントがあるインスタンスのOSなアカウントを全部Resolveする🙃

· · SubwayTooter · 0 · 1 · 1
ログインして会話に参加
GGTea - Mastodon

Mastodonは、オープンなウェブプロトコルを採用した、自由でオープンソースなソーシャルネットワークです。電子メールのような分散型の仕組みを採っています。