Release 3.9.3

This commit is contained in:
Thomas 2022-12-03 19:42:47 +01:00
parent 29a5678a47
commit 5c899e6fba
1 changed files with 3 additions and 0 deletions

View File

@ -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;