Skip to content
New issue

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

Add support for local instance posts #657

Merged
merged 16 commits into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/components/compose.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,11 @@ function Compose({
<option value="direct">
<Trans>Private mention</Trans>
</option>
{supports('@akkoma/local-only') &&
<option value="local">
<Trans>Local instance</Trans>
</option>
}
</select>
</label>{' '}
</div>
Expand Down
1 change: 1 addition & 0 deletions src/components/status.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ const visibilityText = {
unlisted: msg`Unlisted`,
private: msg`Followers only`,
direct: msg`Private mention`,
local: msg`Local instance`,
Steffo99 marked this conversation as resolved.
Show resolved Hide resolved
};

const isIOS =
Expand Down
Loading