]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Event plugin uses saveObjectFromActivity for RSVP
authorStephen Paul Weber <singpolyma@singpolyma.net>
Thu, 22 Oct 2015 17:10:50 +0000 (17:10 +0000)
committerStephen Paul Weber <singpolyma@singpolyma.net>
Thu, 22 Oct 2015 17:10:50 +0000 (17:10 +0000)
commit3e1a6a65e65e0f5a051e39b3b792b53e1cc358cb
tree4d05ec1b2ecf9ec95d795175c8e7336c96d4a7db
parent0ba53edd968ceb53d520351d2846faa97d31bb6f
Event plugin uses saveObjectFromActivity for RSVP

The Event plugin is still using a deprecated hook for saving extra data,
which makes it harder to hook into from other plugins.  This commit
fixes it to use the new hook for at least RSVPs.

NOTE: this plugin incorrectly sets the object_type of RSVP notices to
their verb.  This was existing behaviour which I have preserved for
backwards-compatability.
plugins/Event/EventPlugin.php
plugins/Event/classes/RSVP.php