fix crash when opening a thread in the browser (#1053)

* fix crash when opening a Thread in the browser

* avoid redundant actionableStatus.getActionableId()
This commit is contained in:
Konrad Pozniak 2019-02-17 19:09:30 +01:00 committed by GitHub
parent 2ec17bbb1b
commit fd3226d244
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,8 @@ public abstract class SFragment extends BaseFragment {
}
protected void viewThread(Status status) {
bottomSheetActivity.viewThread(status.getActionableId(), status.getUrl());
Status actionableStatus = status.getActionableStatus();
bottomSheetActivity.viewThread(actionableStatus.getId(), actionableStatus.getUrl());
}
protected void viewAccount(String accountId) {