This website requires JavaScript.
Explore
Help
Sign In
harukin
/
core
Archived
Watch
1
Star
0
Fork
0
You've already forked core
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
This repository has been archived on
2024-08-19
. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
b155f2260f56c0f72058d7f9190c8d221f463e80
core
/
include
/
items.php
redmatrix
2924b9182e
revise the photo activity a bit so that we always have a valid activity body. Several network connectors can get empty posts or posts that don't contain any reference whatsoever to the actual photo. Since this can cause duplicate images on our own site, just provide the activity summary and any included body text to the activity by default. Provide a function to enhance this activity with an actual photo which can be applied on demand for any network connectors that desire it. Otherwise they'll just get a link to the photo in the activity statement - which is better than an empty post. Have applied this "add actual photo to the post" function to both Diaspora and RSS feeds. Also provide the album as the activity target.
2015-12-15 15:01:54 -08:00
163 KiB
Executable File
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink