Expose a chat's isArchived status in JSON output (#1957)

Closes #1955
This commit is contained in:
moppman 2026-03-03 12:46:34 +01:00 committed by GitHub
parent 37b8a4a996
commit 6071291f16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,7 @@ public class ListContactsCommand implements JsonRpcLocalCommand {
contact.nickNameFamilyName(),
contact.note(),
contact.color(),
contact.isArchived(),
contact.isBlocked(),
contact.isHidden(),
contact.messageExpirationTime(),

View File

@ -16,6 +16,7 @@ public record JsonContact(
String nickFamilyName,
String note,
String color,
boolean isArchived,
boolean isBlocked,
boolean isHidden,
int messageExpirationTime,