Commit ced00a7
fix: media_update 時に元の投稿本文を自動補完
Mastodon の PUT /api/v1/statuses/:id は status パラメータが必須。
media_update 時は fetch_status で元の投稿を取得し、本文(text)を
そのまま再送することで、クライアントに本文編集を許可せずに
media_attributes の更新を実現する。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b3199a4 commit ced00a7
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments