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 c79daef974
commit d419f82365

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) {