Participations: Filter out participations without activities.

This commit is contained in:
lain 2019-06-04 13:58:36 +02:00
commit a3a7178b60
2 changed files with 14 additions and 0 deletions

View file

@ -79,5 +79,6 @@ defmodule Pleroma.Conversation.Participation do
| last_activity_id: activity_id
}
end)
|> Enum.filter(& &1.last_activity_id)
end
end