Make TwAPI UserView more resilient to issues.
authorlain <lain@soykaf.club>
Mon, 7 Jan 2019 11:41:31 +0000 (12:41 +0100)
committerlain <lain@soykaf.club>
Mon, 7 Jan 2019 11:41:31 +0000 (12:41 +0100)
commit7382adf407301945e30ee38aa4efe28a819fcf44
tree6097b4ed0f492ddb956787f8a0e3d9ed26bbea02
parentb0e8e521fbbae4f601c6d2f449ea0e3effe57932
Make TwAPI UserView more resilient to issues.

Will work for missing users and badly migrated users.
lib/pleroma/user.ex
lib/pleroma/web/twitter_api/views/activity_view.ex
test/web/twitter_api/views/activity_view_test.exs