address PR comments

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-09-18 11:07:11 -04:00
parent 06336a14ef
commit 6e77d20197
7 changed files with 36 additions and 72 deletions

View File

@@ -94,14 +94,11 @@ impl<'a> PostReplyView<'a> {
if let Some(action) = &post_response.action {
PostActionExecutor::execute(
&self.poster,
self.poster,
action,
self.pool,
self.drafts,
self.drafts.reply_mut(replying_to),
|np, seckey| np.to_reply(seckey, self.note),
|drafts| {
drafts.reply_mut(replying_to).clear();
},
);
}