mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Fix direct inbox delivery pushing posts into inactive followers' timelines (#33067)
This commit is contained in:
@@ -165,6 +165,10 @@ class User < ApplicationRecord
|
||||
end
|
||||
end
|
||||
|
||||
def signed_in_recently?
|
||||
current_sign_in_at.present? && current_sign_in_at >= ACTIVE_DURATION.ago
|
||||
end
|
||||
|
||||
def confirmed?
|
||||
confirmed_at.present?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user