Adjust markPostAsRead to Lemmy 0.19.4

This commit is contained in:
Balazs Toldi 2024-06-23 14:32:18 +02:00
parent 03c1792262
commit ae125feae0

View File

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