fix: Add last_activity_at to notification push event data (#8784)
fix: Add last_activity_at to push event data
This commit is contained in:
@@ -60,6 +60,7 @@ class Notification < ApplicationRecord
|
|||||||
secondary_actor: secondary_actor&.push_event_data,
|
secondary_actor: secondary_actor&.push_event_data,
|
||||||
user: user&.push_event_data,
|
user: user&.push_event_data,
|
||||||
created_at: created_at.to_i,
|
created_at: created_at.to_i,
|
||||||
|
last_activity_at: last_activity_at.to_i,
|
||||||
account_id: account_id
|
account_id: account_id
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user