Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
addons
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
24
Issues
24
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hubzilla
addons
Commits
1d40ffe1
Commit
1d40ffe1
authored
Nov 09, 2019
by
Mario
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pixelfed does not like url in the activity - keep it in the object only
(cherry picked from commit
576ab2c0
)
parent
d7bcf6ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
pubcrawl/as.php
pubcrawl/as.php
+9
-6
No files found.
pubcrawl/as.php
View file @
1d40ffe1
...
...
@@ -271,12 +271,15 @@ function asencode_item($i) {
$ret
[
'location'
][
'longitude'
]
=
$l
[
1
];
}
}
$ret
[
'url'
]
=
[
'type'
=>
'Link'
,
'rel'
=>
'alternate'
,
'type'
=>
'text/html'
,
'href'
=>
$i
[
'plink'
]
];
if
(
$i
[
'obj'
])
{
$ret
[
'url'
]
=
[
'type'
=>
'Link'
,
'rel'
=>
'alternate'
,
'type'
=>
'text/html'
,
'href'
=>
$i
[
'plink'
]
];
}
$ret
[
'attributedTo'
]
=
$i
[
'author'
][
'xchan_url'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment