We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 29980338 authored by Evan Prodromou's avatar Evan Prodromou

Add FIXME comments to remember to encode/decode important data about a

happening in ActivityStreams format
parent a0ed80a5
......@@ -180,6 +180,7 @@ class EventPlugin extends MicroappPlugin
switch ($activity->verb) {
case ActivityVerb::POST:
// FIXME: get startTime, endTime, location and URL
$notice = Happening::saveNew($actor,
$start_time,
$end_time,
......@@ -261,6 +262,9 @@ class EventPlugin extends MicroappPlugin
array('xmlns' => 'urn:ietf:params:xml:ns:xcal'),
common_date_iso8601($happening->end_time));
// FIXME: add location
// FIXME: add URL
// XXX: probably need other stuff here
return $obj;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment