mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Fix a crash with profiles
This commit is contained in:
parent
096dc6e98c
commit
2f11eaf315
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
|
||||||
}
|
}
|
||||||
//When visiting a profile without being authenticated
|
//When visiting a profile without being authenticated
|
||||||
if (checkRemotely) {
|
if (checkRemotely) {
|
||||||
String[] acctArray = accountTimeline.acct.split("@");
|
String[] acctArray = accountTimeline!=null?accountTimeline.acct.split("@"):new String[]{};
|
||||||
if (acctArray.length > 1) {
|
if (acctArray.length > 1) {
|
||||||
remoteInstance = acctArray[1];
|
remoteInstance = acctArray[1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue