Issue 6477: Automatically repair self contact avatar
This commit is contained in:
parent
b48a49b0f5
commit
4ab772ed67
6 changed files with 84 additions and 90 deletions
|
@ -1,31 +0,0 @@
|
|||
|
||||
<entry>
|
||||
<author>
|
||||
<name>{{$name}}</name>
|
||||
<uri>{{$profile_page}}</uri>
|
||||
<link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" />
|
||||
<link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" />
|
||||
</author>
|
||||
|
||||
<id>{{$item_id}}</id>
|
||||
<title>{{$title}}</title>
|
||||
<published>{{$published}}</published>
|
||||
<content type="{{$type}}" >{{$content nofilter}}</content>
|
||||
<link rel="mentioned" href="{{$accturi}}" />
|
||||
<as:actor>
|
||||
<as:object-type>http://activitystrea.ms/schema/1.0/person</as:object-type>
|
||||
<id>{{$profile_page}}</id>
|
||||
<title></title>
|
||||
<link rel="avatar" type="image/jpeg" media:width="175" media:height="175" href="{{$photo}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}"/>
|
||||
<poco:preferredUsername>{{$nick}}</poco:preferredUsername>
|
||||
<poco:displayName>{{$name}}</poco:displayName>
|
||||
</as:actor>
|
||||
<as:verb>{{$verb}}</as:verb>
|
||||
<as:object>
|
||||
<as:object-type></as:object-type>
|
||||
</as:object>
|
||||
<as:target>
|
||||
<as:object-type></as:object-type>
|
||||
</as:target>
|
||||
</entry>
|
|
@ -18,7 +18,7 @@
|
|||
<Link rel="http://portablecontacts.net/spec/1.0"
|
||||
href="{{$poco_url}}" />
|
||||
<Link rel="http://webfinger.net/rel/avatar"
|
||||
type="image/jpeg"
|
||||
type="{{$type}}"
|
||||
href="{{$photo}}" />
|
||||
<Link rel="http://joindiaspora.com/seed_location"
|
||||
type="text/html"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue