Fix build after logical conflict (#4036)
Ugh, I didn't notice that #3480 was affected by the notification fragment rollback
This commit is contained in:
parent
54e92b2156
commit
2dceecb591
2 changed files with 10 additions and 18 deletions
|
|
@ -91,8 +91,8 @@ class TimelineCases @Inject constructor(
|
|||
} else {
|
||||
mastodonApi.unreblogStatusOld(statusId)
|
||||
}
|
||||
return call.doAfterSuccess {
|
||||
eventHub.dispatchOld(ReblogEvent(statusId, reblog))
|
||||
return call.doAfterSuccess { status ->
|
||||
eventHub.dispatchOld(StatusChangedEvent(status))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -102,8 +102,8 @@ class TimelineCases @Inject constructor(
|
|||
} else {
|
||||
mastodonApi.unfavouriteStatusOld(statusId)
|
||||
}
|
||||
return call.doAfterSuccess {
|
||||
eventHub.dispatchOld(FavoriteEvent(statusId, favourite))
|
||||
return call.doAfterSuccess { status ->
|
||||
eventHub.dispatchOld(StatusChangedEvent(status))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -113,8 +113,8 @@ class TimelineCases @Inject constructor(
|
|||
} else {
|
||||
mastodonApi.unbookmarkStatusOld(statusId)
|
||||
}
|
||||
return call.doAfterSuccess {
|
||||
eventHub.dispatchOld(BookmarkEvent(statusId, bookmark))
|
||||
return call.doAfterSuccess { status ->
|
||||
eventHub.dispatchOld(StatusChangedEvent(status))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue