mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-07-08 21:00:29 +03:00
Fix a crash when fetching remote profiles
This commit is contained in:
parent
a9c50ab41f
commit
07b7347417
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
|
||||||
} else if (list_id != null) {
|
} else if (list_id != null) {
|
||||||
ident = "@l@" + list_id;
|
ident = "@l@" + list_id;
|
||||||
} else if (remoteInstance != null && !checkRemotely) {
|
} else if (remoteInstance != null && !checkRemotely) {
|
||||||
if (pinnedTimeline.remoteInstance.type == RemoteInstance.InstanceType.NITTER || pinnedTimeline.remoteInstance.type == RemoteInstance.InstanceType.NITTER_TAG) {
|
if (pinnedTimeline != null && pinnedTimeline.remoteInstance != null && (pinnedTimeline.remoteInstance.type == RemoteInstance.InstanceType.NITTER || pinnedTimeline.remoteInstance.type == RemoteInstance.InstanceType.NITTER_TAG)) {
|
||||||
ident = "@R@" + pinnedTimeline.remoteInstance.host;
|
ident = "@R@" + pinnedTimeline.remoteInstance.host;
|
||||||
} else {
|
} else {
|
||||||
ident = "@R@" + remoteInstance;
|
ident = "@R@" + remoteInstance;
|
||||||
|
|
Loading…
Reference in a new issue