diff options
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/upcoming/UpcomingWidget.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/upcoming/UpcomingWidget.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/upcoming/UpcomingWidget.java index bdf76df68..d8ee30f0a 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/upcoming/UpcomingWidget.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/upcoming/UpcomingWidget.java @@ -50,7 +50,8 @@ public class UpcomingWidget extends AppWidgetProvider { config.setId(appWidgetId); config.setAccounts(accountsList.stream().map(account -> { final FilterWidgetAccount fwa = new FilterWidgetAccount(account.getId()); - fwa.setUsers(new FilterWidgetUser(syncManager.getUserByUidDirectly(account.getId(), account.getUserName()).getId())); + fwa.setUsers(new FilterWidgetUser(syncManager.getUserByUidDirectly(account.getId(), account.getUserName()).getLocalId())); + fwa.setIncludeNoUser(false); return fwa; }).collect(Collectors.toList())); syncManager.createFilterWidget(config, new IResponseCallback<Integer>(null) { |