[Poll] Polls now have an associated note, poll templates, start_show_styles event, started css

This commit is contained in:
Daniel
2020-11-22 02:36:01 +00:00
committed by Hugo Sales
parent 090c593a61
commit 7a299162e1
18 changed files with 307 additions and 91 deletions

View File

@@ -88,7 +88,7 @@ class Posting extends Module
* $actor_id, possibly as a reply to note $reply_to and with flag
* $is_local. Sanitizes $content and $attachments
*/
public static function storeNote(int $actor_id, string $content, array $attachments, bool $is_local, ?int $reply_to = null, ?int $repeat_of = null)
public static function storeNote(int $actor_id, ?string $content, array $attachments, bool $is_local, ?int $reply_to = null, ?int $repeat_of = null)
{
$note = Note::create([
'gsactor_id' => $actor_id,