Release 3.9.3
This commit is contained in:
parent
29a5678a47
commit
5c899e6fba
|
@ -276,6 +276,9 @@ public class PinnedTimelineHelper {
|
||||||
boolean present = false;
|
boolean present = false;
|
||||||
try {
|
try {
|
||||||
Pinned pinnedAll = new Pinned(activity).getAllPinned(currentAccount);
|
Pinned pinnedAll = new Pinned(activity).getAllPinned(currentAccount);
|
||||||
|
if (pinnedAll == null) {
|
||||||
|
pinnedAll = pinned;
|
||||||
|
}
|
||||||
for (PinnedTimeline pinnedTimeline : pinnedAll.pinnedTimelines) {
|
for (PinnedTimeline pinnedTimeline : pinnedAll.pinnedTimelines) {
|
||||||
if (pinnedTimeline.mastodonList != null && mastodonList.id.compareTo(pinnedTimeline.mastodonList.id) == 0) {
|
if (pinnedTimeline.mastodonList != null && mastodonList.id.compareTo(pinnedTimeline.mastodonList.id) == 0) {
|
||||||
present = true;
|
present = true;
|
||||||
|
|
Loading…
Reference in New Issue