private SocialActivityModel statusToActivity(
      Account account, Status status, MastodonHttpUtilities utilities) {
    String contentString = status.getContent();
    Matcher matcher = RAW_CONTENT_PATTERN.matcher(contentString);
    if (matcher.matches()) {
      contentString = matcher.group(1);
    }

    return new SocialActivityModel(
        status.getUri(),
        status.getCreatedAt(),
        SocialActivityType.NOTE,
        null,
        null,
        null,
        contentString,
        status.getUrl());
  }
Exports post data from Mastodon.
<p> Currently only supports text and not images.
extensions/data-transfer/portability-data-transfer-mastodon/src/main/java/org/datatransferproject/transfer/mastodon/social/MastodonActivityExport.java