Correctly handle public uploads in activities

Fix #104
Merge pull request #135 from owncloud/issue/104

Correctly handle public uploads in activities