Commit 2f11eaf3 authored by Thomas's avatar Thomas
Browse files

Fix a crash with profiles

parent 096dc6e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -432,7 +432,7 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
        }
        //When visiting a profile without being authenticated
        if (checkRemotely) {
            String[] acctArray = accountTimeline.acct.split("@");
            String[] acctArray = accountTimeline!=null?accountTimeline.acct.split("@"):new String[]{};
            if (acctArray.length > 1) {
                remoteInstance = acctArray[1];
            }