diff options
author | Vitaly Takmazov | 2022-10-04 21:45:26 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-10-04 21:45:26 +0300 |
commit | 21927063ea989551613ae35ab4b71c9e880db0a1 (patch) | |
tree | 07c32ae12be0e929ee9570e4eaff13614e376c5b /src/main/java/com/juick/model | |
parent | 8ec8241b63ae6b59e3d4a17bd7feb11723820eac (diff) |
Always include empty pms list in `groups_pms` API response
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r-- | src/main/java/com/juick/model/PrivateChats.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/juick/model/PrivateChats.java b/src/main/java/com/juick/model/PrivateChats.java index 7a20ddbc..c480d00a 100644 --- a/src/main/java/com/juick/model/PrivateChats.java +++ b/src/main/java/com/juick/model/PrivateChats.java @@ -17,6 +17,7 @@ package com.juick.model; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Collections; @@ -34,6 +35,7 @@ public class PrivateChats { } @JsonProperty("pms") + @JsonInclude(JsonInclude.Include.ALWAYS) public List<Chat> getUsers() { return users; } |