diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-15 15:01:54 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-15 15:01:54 -0800 |
commit | 2924b9182e787d0266e433169b1db1c3fdd359a7 (patch) | |
tree | f0125fa6cd46a0147301af27d91031bfcdd45d55 /include/group.php | |
parent | ba463afbdcded70b88a48d76276d837a7e78ef0c (diff) | |
download | volse-hubzilla-2924b9182e787d0266e433169b1db1c3fdd359a7.tar.gz volse-hubzilla-2924b9182e787d0266e433169b1db1c3fdd359a7.tar.bz2 volse-hubzilla-2924b9182e787d0266e433169b1db1c3fdd359a7.zip |
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.
Diffstat (limited to 'include/group.php')
0 files changed, 0 insertions, 0 deletions