fix: Make "Open boost author" open the correct profile (#1043)

Previous code passed the actionable status, so "Open boost author"
actually opened the account that posted the original status.

Pass the status representing the boost, so the correct account is
opened.

Fixes #1042
This commit is contained in:
Nik Clayton 2024-10-23 13:56:47 +02:00 committed by GitHub
parent 90bb85ba00
commit 2bdab8bec9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -180,7 +180,7 @@ class ListStatusAccessibilityDelegate<T : IStatusViewData>(
app.pachli.core.ui.R.id.action_hashtags -> showHashtagsDialog(host)
app.pachli.core.ui.R.id.action_open_reblogger -> {
interrupt()
statusActionListener.onOpenReblog(status.actionable)
statusActionListener.onOpenReblog(status.status)
}
app.pachli.core.ui.R.id.action_open_reblogged_by -> {
interrupt()