Skip to content

Commit

Permalink
proactively fetch new user's Mastodon identity
Browse files Browse the repository at this point in the history
  • Loading branch information
Her Email authored and alphatownsman committed Dec 10, 2023
1 parent 72989a5 commit 95f5e85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions users/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ def initialize(self):
raise ValueError("Username is not set")
Takahe.init_identity_for_local_user(self)
self.identity.shelf_manager
if self.mastodon_acct:
Takahe.fetch_remote_identity(self.mastodon_acct)


# TODO the following models should be deprecated soon
Expand Down

0 comments on commit 95f5e85

Please sign in to comment.