Make some tweaks around dealing with replies
This commit is contained in:
parent
4bea97df0c
commit
6c43363c78
7 changed files with 100 additions and 74 deletions
|
@ -212,6 +212,17 @@ EOF;
|
|||
->where('id', $noteWithLongUrl->id)
|
||||
->update(['updated_at' => $now->toDateTimeString()]);
|
||||
|
||||
$now = Carbon::now();
|
||||
$noteReplyingToMastodon = Note::create([
|
||||
'note' => 'Yup, #DevOps is hard',
|
||||
'in_reply_to' => 'https://mastodon.social/@Gargron/109381161123311795',
|
||||
'created_at' => $now,
|
||||
'client_id' => 'https://quill.p3k.io/',
|
||||
]);
|
||||
DB::table('notes')
|
||||
->where('id', $noteReplyingToMastodon->id)
|
||||
->update(['updated_at' => $now->toDateTimeString()]);
|
||||
|
||||
Note::factory(10)->create();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue