diff --git a/CHANGELOG.md b/CHANGELOG.md
index b9b2bda..c80ac67 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,16 @@
 # Changelog
 
+## [unreleased]
+
+### Backwards incompatible changes
+* `Image` no longer has a `text` attribute. It is replaced by `raw_content`, the same attribute as `Post` and `Comment` have. Unlike the latter two, `Image.raw_content` is not mandatory.
+
+### Added
+* Entities can now have a children. These can be accessed using the `_children` list. Acceptable children depends on the entity. Currently, `Post`, `Comment` and `Profile` can have children of entity type `Image`. Child types are validated in the `.validate()` entity method call.
+
+### Fixed
+* Diaspora protocol `message_to_objects` method (called through inbound high level methods) now correctly parses Diaspora `<photo>` elements and creates `Image` entities from them. If they are children of status messages, they will be available through the `Post._children` list.
+
 ## [0.8.2] - 2016-10-23
 
 ### Fixed
diff --git a/federation/entities/base.py b/federation/entities/base.py
index 0e1534f..71d441b 100644
--- a/federation/entities/base.py
+++ b/federation/entities/base.py
@@ -12,6 +12,8 @@ __all__ = (
 
 class BaseEntity(object):
     _required = []
+    _children = []
+    _allowed_children = ()
 
     def __init__(self, *args, **kwargs):
         self._required = []
@@ -29,6 +31,7 @@ class BaseEntity(object):
         1) Check `_required` have been given
         2) Make sure all attrs in required have a non-empty value
         3) Loop through attributes and call their `validate_<attr>` methods, if any.
+        4) Validate allowed children
         """
         attributes = []
         validates = []
@@ -43,6 +46,7 @@ class BaseEntity(object):
         self._validate_empty_attributes(attributes)
         self._validate_required(attributes)
         self._validate_attributes(validates)
+        self._validate_children()
 
     def _validate_required(self, attributes):
         """Ensure required attributes are present."""
@@ -67,6 +71,15 @@ class BaseEntity(object):
                     "Attribute %s cannot be None or an empty string since it is required." % attr
                 )
 
+    def _validate_children(self):
+        """Check that the children we have are allowed here."""
+        for child in self._children:
+            if child.__class__ not in self._allowed_children:
+                raise ValueError(
+                    "Child %s is not allowed as a children for this %s type entity." % (
+                        child, self.__class__
+                    )
+                )
 
 class GUIDMixin(BaseEntity):
     guid = ""
@@ -138,18 +151,17 @@ class RawContentMixin(BaseEntity):
         return set({word.strip("#") for word in self.raw_content.split() if word.startswith("#")})
 
 
-class Post(RawContentMixin, GUIDMixin, HandleMixin, PublicMixin, CreatedAtMixin, BaseEntity):
-    """Reflects a post, status message, etc, which will be composed from the message or to the message."""
-    provider_display_name = ""
-    location = ""
-    photos = []
+class OptionalRawContentMixin(RawContentMixin):
+    """A version of the RawContentMixin where `raw_content` is not required."""
+    def __init__(self, *args, **kwargs):
+        super().__init__(*args, **kwargs)
+        self._required.remove("raw_content")
 
 
-class Image(GUIDMixin, HandleMixin, PublicMixin, CreatedAtMixin, BaseEntity):
+class Image(GUIDMixin, HandleMixin, PublicMixin, OptionalRawContentMixin, CreatedAtMixin, BaseEntity):
     """Reflects a single image, possibly linked to another object."""
     remote_path = ""
     remote_name = ""
-    text = ""
     linked_type = ""
     linked_guid = ""
     height = 0
@@ -160,6 +172,15 @@ class Image(GUIDMixin, HandleMixin, PublicMixin, CreatedAtMixin, BaseEntity):
         self._required += ["remote_path", "remote_name"]
 
 
+class Post(RawContentMixin, GUIDMixin, HandleMixin, PublicMixin, CreatedAtMixin, BaseEntity):
+    """Reflects a post, status message, etc, which will be composed from the message or to the message."""
+    provider_display_name = ""
+    location = ""
+    photos = []
+
+    _allowed_children = (Image,)
+
+
 class ParticipationMixin(TargetGUIDMixin):
     """Reflects a participation to something."""
     target_guid = ""
@@ -183,6 +204,8 @@ class Comment(RawContentMixin, GUIDMixin, ParticipationMixin, CreatedAtMixin, Ha
     """Represents a comment, linked to another object."""
     participation = "comment"
 
+    _allowed_children = (Image,)
+
 
 class Reaction(GUIDMixin, ParticipationMixin, CreatedAtMixin, HandleMixin):
     """Represents a reaction to another object, for example a like."""
@@ -243,6 +266,8 @@ class Profile(CreatedAtMixin, HandleMixin, RawContentMixin, PublicMixin, GUIDMix
     tag_list = []
     public_key = ""
 
+    _allowed_children = (Image,)
+
     def validate_email(self):
         if self.email:
             validator = Email()
diff --git a/federation/entities/diaspora/mappers.py b/federation/entities/diaspora/mappers.py
index d9fbe6a..84b5b4c 100644
--- a/federation/entities/diaspora/mappers.py
+++ b/federation/entities/diaspora/mappers.py
@@ -30,6 +30,10 @@ DATETIME_KEYS = [
     "created_at",
 ]
 
+INTEGER_KEYS = [
+    "height",
+    "width",
+]
 
 def xml_children_as_dict(node):
     """Turn the children of node <xml> into a dict, keyed by tag name.
@@ -39,32 +43,57 @@ def xml_children_as_dict(node):
     return dict((e.tag, e.text) for e in node)
 
 
-def message_to_objects(message):
-    """Takes in a message extracted by a protocol and maps it to entities."""
-    doc = etree.fromstring(message)
+def element_to_objects(tree):
+    """Transform an Element tree to a list of entities recursively.
+
+    Possible child entities are added to each entity `_children` list.
+
+    :param tree: Element
+    :returns: list of entities
+    """
     entities = []
-    for element in doc.iter():
+    for element in tree:
         cls = MAPPINGS.get(element.tag, None)
-        if cls:
-            attrs = xml_children_as_dict(element)
-            transformed = transform_attributes(attrs)
-            if hasattr(cls, "fill_extra_attributes"):
-                transformed = cls.fill_extra_attributes(transformed)
-            entity = cls(**transformed)
-            try:
-                entity.validate()
-                entities.append(entity)
-            except ValueError as ex:
-                logger.error("Failed to validate entity %s: %s", entity, ex, extra={
-                    "attrs": attrs,
-                    "transformed": transformed,
-                })
-                continue
-            if cls == DiasporaRequest:
-                # We support sharing/following separately, so also generate base Relationship for the following part
-                transformed.update({"relationship": "following"})
-                entity = Relationship(**transformed)
-                entities.append(entity)
+        if not cls:
+            continue
+
+        attrs = xml_children_as_dict(element)
+        transformed = transform_attributes(attrs)
+        if hasattr(cls, "fill_extra_attributes"):
+            transformed = cls.fill_extra_attributes(transformed)
+        entity = cls(**transformed)
+        try:
+            entity.validate()
+        except ValueError as ex:
+            logger.error("Failed to validate entity %s: %s", entity, ex, extra={
+                "attrs": attrs,
+                "transformed": transformed,
+            })
+            continue
+        # Do child elements
+        entity._children = element_to_objects(element)
+        # Add to entities list
+        entities.append(entity)
+        if cls == DiasporaRequest:
+            # We support sharing/following separately, so also generate base Relationship for the following part
+            transformed.update({"relationship": "following"})
+            relationship = Relationship(**transformed)
+            entities.append(relationship)
+    return entities
+
+
+def message_to_objects(message):
+    """Takes in a message extracted by a protocol and maps it to entities.
+
+    :param message: XML payload
+    :type message: str
+    :returns: list of entities
+    """
+    doc = etree.fromstring(message)
+    if doc[0].tag == "post":
+        # Skip the top <post> element if it exists
+        doc = doc[0]
+    entities = element_to_objects(doc)
     return entities
 
 
@@ -102,10 +131,19 @@ def transform_attributes(attrs):
             transformed["public"] = True if value == "true" else False
         elif key == "target_type":
             transformed["entity_type"] = DiasporaRetraction.entity_type_from_remote(value)
+        elif key == "remote_photo_path":
+            transformed["remote_path"] = value
+        elif key == "remote_photo_name":
+            transformed["remote_name"] = value
+        elif key == "status_message_guid":
+            transformed["linked_guid"] = value
+            transformed["linked_type"] = "Post"
         elif key in BOOLEAN_KEYS:
             transformed[key] = True if value == "true" else False
         elif key in DATETIME_KEYS:
             transformed[key] = datetime.strptime(value, "%Y-%m-%d %H:%M:%S %Z")
+        elif key in INTEGER_KEYS:
+            transformed[key] = int(value)
         else:
             transformed[key] = value or ""
     return transformed

Finish up status message photos support
Every found `<photo>` should be linked to the current entity as a child entity.
diff --git a/federation/tests/entities/diaspora/test_mappers.py b/federation/tests/entities/diaspora/test_mappers.py
index 0a5aa32..c98c661 100644
--- a/federation/tests/entities/diaspora/test_mappers.py
+++ b/federation/tests/entities/diaspora/test_mappers.py
@@ -4,7 +4,9 @@ from unittest.mock import patch
 
 import pytest
 
-from federation.entities.base import Comment, Post, Reaction, Relationship, Profile, Retraction
+from federation.entities.base import (
+    Comment, Post, Reaction, Relationship, Profile, Retraction, Image
+)
 from federation.entities.diaspora.entities import (
     DiasporaPost, DiasporaComment, DiasporaLike, DiasporaRequest,
     DiasporaProfile, DiasporaRetraction
@@ -12,8 +14,8 @@ from federation.entities.diaspora.entities import (
 from federation.entities.diaspora.mappers import message_to_objects, get_outbound_entity
 from federation.tests.fixtures.payloads import (
     DIASPORA_POST_SIMPLE, DIASPORA_POST_COMMENT, DIASPORA_POST_LIKE,
-    DIASPORA_REQUEST, DIASPORA_PROFILE, DIASPORA_POST_INVALID, DIASPORA_RETRACTION
-)
+    DIASPORA_REQUEST, DIASPORA_PROFILE, DIASPORA_POST_INVALID, DIASPORA_RETRACTION,
+    DIASPORA_POST_WITH_PHOTOS)
 
 
 def mock_fill(attributes):
@@ -35,6 +37,38 @@ class TestDiasporaEntityMappersReceive(object):
         assert post.created_at == datetime(2011, 7, 20, 1, 36, 7)
         assert post.provider_display_name == "Socialhome"
 
+    def test_message_to_objects_post_with_photos(self):
+        entities = message_to_objects(DIASPORA_POST_WITH_PHOTOS)
+        assert len(entities) == 1
+        post = entities[0]
+        assert isinstance(post, DiasporaPost)
+        photo = post._children[0]
+        assert isinstance(photo, Image)
+        assert photo.remote_path == "https://alice.diaspora.example.org/uploads/images/"
+        assert photo.remote_name == "1234.jpg"
+        assert photo.raw_content == None
+        assert photo.linked_type == "Post"
+        assert photo.linked_guid == "((guidguidguidguidguidguidguid))"
+        assert photo.height == 120
+        assert photo.width == 120
+        assert photo.guid == "((guidguidguidguidguidguidguif))"
+        assert photo.handle == "alice@alice.diaspora.example.org"
+        assert photo.public == False
+        assert photo.created_at == datetime(2011, 7, 20, 1, 36, 7)
+        photo = post._children[1]
+        assert isinstance(photo, Image)
+        assert photo.remote_path == "https://alice.diaspora.example.org/uploads/images/"
+        assert photo.remote_name == "12345.jpg"
+        assert photo.raw_content == "foobar"
+        assert photo.linked_type == "Post"
+        assert photo.linked_guid == "((guidguidguidguidguidguidguid))"
+        assert photo.height == 120
+        assert photo.width == 120
+        assert photo.guid == "((guidguidguidguidguidguidguig))"
+        assert photo.handle == "alice@alice.diaspora.example.org"
+        assert photo.public == False
+        assert photo.created_at == datetime(2011, 7, 20, 1, 36, 7)
+
     def test_message_to_objects_comment(self):
         entities = message_to_objects(DIASPORA_POST_COMMENT)
         assert len(entities) == 1
diff --git a/federation/tests/entities/test_base.py b/federation/tests/entities/test_base.py
index be48eaf..f4b769f 100644
--- a/federation/tests/entities/test_base.py
+++ b/federation/tests/entities/test_base.py
@@ -25,6 +25,28 @@ class TestBaseEntityCallsValidateMethods(object):
         post.validate()
         assert post.validate_location.call_count == 1
 
+    def test_entity_calls_main_validate_methods(self):
+        post = PostFactory()
+        post._validate_required = Mock()
+        post._validate_attributes = Mock()
+        post._validate_empty_attributes = Mock()
+        post._validate_children = Mock()
+        post.validate()
+        assert post._validate_required.call_count == 1
+        assert post._validate_attributes.call_count == 1
+        assert post._validate_empty_attributes.call_count == 1
+        assert post._validate_children.call_count == 1
+
+    def test_validate_children(self):
+        post = PostFactory()
+        image = Image()
+        profile = Profile()
+        post._children = [image]
+        post._validate_children()
+        post._children = [profile]
+        with pytest.raises(ValueError):
+            post._validate_children()
+
 
 class TestGUIDMixinValidate(object):
     def test_validate_guid_raises_on_low_length(self):
diff --git a/federation/tests/fixtures/payloads.py b/federation/tests/fixtures/payloads.py
index 5bb64d6..15b0888 100644
--- a/federation/tests/fixtures/payloads.py
+++ b/federation/tests/fixtures/payloads.py
@@ -42,6 +42,46 @@ DIASPORA_POST_SIMPLE = """<XML>
     </XML>
 """
 
+
+DIASPORA_POST_WITH_PHOTOS = """<XML>
+      <post>
+        <status_message>
+          <raw_message>((status message))</raw_message>
+          <guid>((guidguidguidguidguidguidguid))</guid>
+          <diaspora_handle>alice@alice.diaspora.example.org</diaspora_handle>
+          <public>false</public>
+          <created_at>2011-07-20 01:36:07 UTC</created_at>
+          <provider_display_name>Socialhome</provider_display_name>
+          <photo>
+            <guid>((guidguidguidguidguidguidguif))</guid>
+            <diaspora_handle>alice@alice.diaspora.example.org</diaspora_handle>
+            <public>false</public>
+            <created_at>2011-07-20 01:36:07 UTC</created_at>
+            <remote_photo_path>https://alice.diaspora.example.org/uploads/images/</remote_photo_path>
+            <remote_photo_name>1234.jpg</remote_photo_name>
+            <text/>
+            <status_message_guid>((guidguidguidguidguidguidguid))</status_message_guid>
+            <height>120</height>
+            <width>120</width>
+          </photo>
+          <photo>
+            <guid>((guidguidguidguidguidguidguig))</guid>
+            <diaspora_handle>alice@alice.diaspora.example.org</diaspora_handle>
+            <public>false</public>
+            <created_at>2011-07-20 01:36:07 UTC</created_at>
+            <remote_photo_path>https://alice.diaspora.example.org/uploads/images/</remote_photo_path>
+            <remote_photo_name>12345.jpg</remote_photo_name>
+            <text>foobar</text>
+            <status_message_guid>((guidguidguidguidguidguidguid))</status_message_guid>
+            <height>120</height>
+            <width>120</width>
+          </photo>
+        </status_message>
+      </post>
+    </XML>
+"""
+
+
 DIASPORA_POST_INVALID = """<XML>
       <post>
         <status_message>

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-warnings
apt-get update apt-get install -y gcc
3.5
dev-requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
alabaster==0.7.13
attrs==22.2.0
Babel==2.11.0
certifi==2021.5.30
charset-normalizer==2.0.12
codecov==2.1.13
colorama==0.4.5
commonmark==0.9.1
coverage==6.2
cssselect==1.1.0
dirty-validators==0.3.2
docutils==0.18.1
factory-boy==3.2.1
Faker==14.2.1
-e git+https://github.com/jaywink/federation.git@334d6902e369e510e68e42600e265c65319ce328#egg=federation
idna==3.10
imagesize==1.4.1
importlib-metadata==4.8.3
iniconfig==1.1.1
isodate==0.6.1
Jinja2==3.0.3
jsonschema==2.6.0
livereload==2.6.3
lxml==3.8.0
MarkupSafe==2.0.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
pycrypto==2.6.1
Pygments==2.14.0
pyparsing==3.1.4
pytest==7.0.1
pytest-cov==4.0.0
pytest-warnings==0.3.1
python-dateutil==2.9.0.post0
python-xrd==0.1
pytz==2025.2
recommonmark==0.7.1
requests==2.27.1
six==1.17.0
snowballstemmer==2.2.0
Sphinx==5.3.0
sphinx-autobuild==2021.3.14
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
tomli==1.2.3
tornado==6.1
typing_extensions==4.1.1
urllib3==1.26.20
zipp==3.6.0

name: federation
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - alabaster==0.7.13
      - attrs==22.2.0
      - babel==2.11.0
      - charset-normalizer==2.0.12
      - codecov==2.1.13
      - colorama==0.4.5
      - commonmark==0.9.1
      - coverage==6.2
      - cssselect==1.1.0
      - dirty-validators==0.3.2
      - docutils==0.18.1
      - factory-boy==3.2.1
      - faker==14.2.1
      - idna==3.10
      - imagesize==1.4.1
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - isodate==0.6.1
      - jinja2==3.0.3
      - jsonschema==2.6.0
      - livereload==2.6.3
      - lxml==3.8.0
      - markupsafe==2.0.1
      - packaging==21.3
      - pluggy==1.0.0
      - py==1.11.0
      - pycrypto==2.6.1
      - pygments==2.14.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-cov==4.0.0
      - pytest-warnings==0.3.1
      - python-dateutil==2.9.0.post0
      - python-xrd==0.1
      - pytz==2025.2
      - recommonmark==0.7.1
      - requests==2.27.1
      - six==1.17.0
      - snowballstemmer==2.2.0
      - sphinx==5.3.0
      - sphinx-autobuild==2021.3.14
      - sphinxcontrib-applehelp==1.0.2
      - sphinxcontrib-devhelp==1.0.2
      - sphinxcontrib-htmlhelp==2.0.0
      - sphinxcontrib-jsmath==1.0.1
      - sphinxcontrib-qthelp==1.0.3
      - sphinxcontrib-serializinghtml==1.1.5
      - tomli==1.2.3
      - tornado==6.1
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - zipp==3.6.0
prefix: /opt/conda/envs/federation

federation/tests/entities/diaspora/test_mappers.py::TestDiasporaEntityMappersReceive::test_message_to_objects_post_with_photos federation/tests/entities/test_base.py::TestBaseEntityCallsValidateMethods::test_entity_calls_main_validate_methods federation/tests/entities/test_base.py::TestBaseEntityCallsValidateMethods::test_validate_children
federation/tests/entities/diaspora/test_mappers.py::TestDiasporaEntityMappersReceive::test_message_to_objects_simple_post federation/tests/entities/diaspora/test_mappers.py::TestDiasporaEntityMappersReceive::test_message_to_objects_comment federation/tests/entities/diaspora/test_mappers.py::TestDiasporaEntityMappersReceive::test_message_to_objects_like federation/tests/entities/diaspora/test_mappers.py::TestDiasporaEntityMappersReceive::test_message_to_objects_request federation/tests/entities/diaspora/test_mappers.py::TestDiasporaEntityMappersReceive::test_message_to_objects_profile federation/tests/entities/diaspora/test_mappers.py::TestDiasporaEntityMappersReceive::test_message_to_objects_retraction federation/tests/entities/diaspora/test_mappers.py::TestDiasporaEntityMappersReceive::test_invalid_entity_logs_an_error federation/tests/entities/diaspora/test_mappers.py::TestGetOutboundEntity::test_already_fine_entities_are_returned_as_is federation/tests/entities/diaspora/test_mappers.py::TestGetOutboundEntity::test_post_is_converted_to_diasporapost federation/tests/entities/diaspora/test_mappers.py::TestGetOutboundEntity::test_comment_is_converted_to_diasporacomment federation/tests/entities/diaspora/test_mappers.py::TestGetOutboundEntity::test_reaction_of_like_is_converted_to_diasporalike federation/tests/entities/diaspora/test_mappers.py::TestGetOutboundEntity::test_relationship_of_sharing_or_following_is_converted_to_diasporarequest federation/tests/entities/diaspora/test_mappers.py::TestGetOutboundEntity::test_profile_is_converted_to_diasporaprofile federation/tests/entities/diaspora/test_mappers.py::TestGetOutboundEntity::test_other_reaction_raises federation/tests/entities/diaspora/test_mappers.py::TestGetOutboundEntity::test_other_relation_raises federation/tests/entities/diaspora/test_mappers.py::TestGetOutboundEntity::test_retraction_is_converted_to_diasporaretraction federation/tests/entities/test_base.py::TestPostEntityTags::test_post_entity_returns_list_of_tags federation/tests/entities/test_base.py::TestPostEntityTags::test_post_entity_without_raw_content_tags_returns_empty_set federation/tests/entities/test_base.py::TestBaseEntityCallsValidateMethods::test_entity_calls_attribute_validate_method federation/tests/entities/test_base.py::TestGUIDMixinValidate::test_validate_guid_raises_on_low_length federation/tests/entities/test_base.py::TestHandleMixinValidate::test_validate_handle_raises_on_invalid_format federation/tests/entities/test_base.py::TestPublicMixinValidate::test_validate_public_raises_on_low_length federation/tests/entities/test_base.py::TestEntityRequiredAttributes::test_entity_checks_for_required_attributes federation/tests/entities/test_base.py::TestEntityRequiredAttributes::test_validate_checks_required_values_are_not_empty federation/tests/entities/test_base.py::TestRelationshipEntity::test_instance_creation federation/tests/entities/test_base.py::TestRelationshipEntity::test_instance_creation_validates_relationship_value federation/tests/entities/test_base.py::TestRelationshipEntity::test_instance_creation_validates_target_handle_value federation/tests/entities/test_base.py::TestProfileEntity::test_instance_creation federation/tests/entities/test_base.py::TestProfileEntity::test_instance_creation_validates_email_value federation/tests/entities/test_base.py::TestProfileEntity::test_guid_is_mandatory federation/tests/entities/test_base.py::TestImageEntity::test_instance_creation federation/tests/entities/test_base.py::TestImageEntity::test_required_fields federation/tests/entities/test_base.py::TestRetractionEntity::test_instance_creation federation/tests/entities/test_base.py::TestRetractionEntity::test_required_validates
federation/entities/base.py federation/entities/diaspora/mappers.py CHANGELOG.md
federation/entities/base.py federation/entities/diaspora/mappers.py CHANGELOG.md