mirror of
https://github.com/go-gitea/gitea
synced 2024-11-13 21:54:24 +00:00
Merge remote-tracking branch 'github/feature-activitypub' into feature-activitypub
This commit is contained in:
commit
1da4849ad7
@ -443,6 +443,7 @@ size_error=长度必须为 %s。
|
||||
min_size_error=长度最小为 %s 个字符。
|
||||
max_size_error=长度最大为 %s 个字符。
|
||||
email_error=不是一个有效的邮箱地址。
|
||||
url_error=`'%s' 不是一个有效的 URL。`
|
||||
include_error=`必须包含子字符串 '%s'。`
|
||||
glob_pattern_error=`匹配模式无效:%s.`
|
||||
regex_pattern_error=`正则表达式无效:%s.`
|
||||
|
@ -59,9 +59,7 @@ func Person(ctx *context.APIContext) {
|
||||
URL: ap.IRI(ctx.ContextUser.AvatarLink()),
|
||||
}
|
||||
|
||||
person.Inbox = nil
|
||||
person.Inbox, _ = ap.Inbox.AddTo(person)
|
||||
person.Outbox = nil
|
||||
person.Outbox, _ = ap.Outbox.AddTo(person)
|
||||
|
||||
person.PublicKey.ID = ap.IRI(link + "#main-key")
|
||||
|
Loading…
Reference in New Issue
Block a user