Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/86/head
Maxence Lange 2018-11-30 20:32:22 -01:00 zatwierdzone przez Julius Härtl
rodzic 454237b5a8
commit fdfb917066
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4C614C6ED2CDE6DF
3 zmienionych plików z 9 dodań i 37 usunięć

Wyświetl plik

@ -120,34 +120,6 @@
</declaration>
</table>
<table>
<name>*dbprefix*social_server_activities</name>
<declaration>
<field>
<name>id</name>
<type>text</type>
<length>127</length>
<notnull>true</notnull>
</field>
<field>
<name>activity</name>
<type>text</type>
<length>6000</length>
<notnull>true</notnull>
</field>
<field>
<name>object</name>
<type>text</type>
<length>127</length>
<notnull>true</notnull>
</field>
</declaration>
</table>
<table>
<name>*dbprefix*social_server_notes</name>
<declaration>
@ -160,12 +132,12 @@
<primary>true</primary>
</field>
<!--<field>-->
<!--<name>type</name>-->
<!--<type>text</type>-->
<!--<length>15</length>-->
<!--<notnull>true</notnull>-->
<!--</field>-->
<field>
<name>type</name>
<type>text</type>
<length>31</length>
<notnull>true</notnull>
</field>
<field>
<name>to</name>

Wyświetl plik

@ -15,7 +15,7 @@
**🕸 Open standards:** We use the established ActivityPub standard!
]]></description>
<version>0.0.60</version>
<version>0.0.62</version>
<licence>agpl</licence>
<author mail="maxence@artificial-owl.com">Maxence Lange</author>
<author mail="jus@bitgrid.net">Julius Härtl</author>

Wyświetl plik

@ -886,8 +886,8 @@ abstract class ACore implements JsonSerializable {
$this->setToArray($this->getArray('to', $data, []));
$this->setCcArray($this->getArray('cc', $data, []));
$this->setPublished($this->get('published', $data, ''));
$this->setActorId($this->get('actor', $data, ''));
$this->setObjectId($this->get('object', $data, ''));
$this->setActorId($this->get('actor_id', $data, ''));
$this->setObjectId($this->get('object_id', $data, ''));
$this->setSource($this->get('source', $data, ''));
$this->setLocal(($this->getInt('local', $data, 0) === 1));
}