We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
あんまりMisskeyに無い属性をモデルに追加したくないけど利便性を考えるとあってもいい気がする
def get_profile_link( self, external: bool = True, protocol: Literal["http", "https"] = "https", ): if not self._user: return None host = ( f"{protocol}://{self._user.host}" if external and self._user.host else self._session._url ) path = ( f"/@{self._user.username}" if external else f"/{self._user.api.action.get_mention()}" ) return host + path
The text was updated successfully, but these errors were encountered:
yupix
No branches or pull requests
Summary
あんまりMisskeyに無い属性をモデルに追加したくないけど利便性を考えるとあってもいい気がする
The text was updated successfully, but these errors were encountered: