### Fixed
- Support pagination in conversations API
+### Changed
+- MFR policy to set global expiration for all local Create activities
+
## [unreleased-patch]
+ ### Fixed
+ - Logger configuration through AdminFE
+ - HTTP Basic Authentication permissions issue
+ - ObjectAgePolicy didn't filter out old messages
+
+ ### Added
+ - NodeInfo: ObjectAgePolicy settings to the `federation` list.
+ <details>
+ <summary>API Changes</summary>
+ - Admin API: `GET /api/pleroma/admin/need_reboot`.
+ </details>
## [2.0.2] - 2020-04-08
### Added
end
end
- # Updates the emojis for a user based on their profile
- def update(user) do
- emoji = emoji_from_profile(user)
- source_data = Map.put(user.source_data, "tag", emoji)
-
- user =
- case User.update_source_data(user, source_data) do
- {:ok, user} -> user
- _ -> user
- end
-
- ActivityPub.update(%{
- local: true,
- to: [Pleroma.Constants.as_public(), user.follower_address],
- cc: [],
- actor: user.ap_id,
- object: Pleroma.Web.ActivityPub.UserView.render("user.json", %{user: user})
- })
- defp maybe_create_activity_expiration({:ok, activity}, %NaiveDateTime{} = expires_at) do
- with {:ok, _} <- ActivityExpiration.create(activity, expires_at) do
- {:ok, activity}
- end
-- end
-
- defp maybe_create_activity_expiration(result, _), do: result
--
def pin(id_or_ap_id, %{ap_id: user_ap_id} = user) do
with %Activity{
actor: ^user_ap_id,