summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/model/status.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/api/model/status.go b/internal/api/model/status.go
index e63ea610e..43ec6a387 100644
--- a/internal/api/model/status.go
+++ b/internal/api/model/status.go
@@ -46,8 +46,9 @@ type Status struct {
// example: unlisted
Visibility Visibility `json:"visibility"`
// Primary language of this status (ISO 639 Part 1 two-letter language code).
+ // Will be null if language is not known.
// example: en
- Language string `json:"language"`
+ Language *string `json:"language"`
// ActivityPub URI of the status. Equivalent to the status's activitypub ID.
// example: https://example.org/users/some_user/statuses/01FBVD42CQ3ZEEVMW180SBX03B
URI string `json:"uri"`