From ae125feae08e14dee1b90d1d9e8ba888179a8290 Mon Sep 17 00:00:00 2001 From: Balazs Toldi Date: Sun, 23 Jun 2024 14:32:18 +0200 Subject: [PATCH] Adjust markPostAsRead to Lemmy 0.19.4 --- .../main/java/eu/toldi/infinityforlemmy/dto/ReadPostDTO.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/dto/ReadPostDTO.java b/app/src/main/java/eu/toldi/infinityforlemmy/dto/ReadPostDTO.java index b0612f8f..9cfd99b4 100644 --- a/app/src/main/java/eu/toldi/infinityforlemmy/dto/ReadPostDTO.java +++ b/app/src/main/java/eu/toldi/infinityforlemmy/dto/ReadPostDTO.java @@ -3,11 +3,13 @@ package eu.toldi.infinityforlemmy.dto; public class ReadPostDTO { private int post_id; + private int[] post_ids; private boolean read; private String auth; public ReadPostDTO(int post_id, boolean read, String auth) { this.post_id = post_id; + this.post_ids = new int[]{post_id}; this.read = read; this.auth = auth; }