mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 12:30:39 +00:00
changed respType to match reqType for list_groups and list_contacts
This commit is contained in:
parent
8516090552
commit
ae71e7b7d3
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ public class JsonEventLoopCommand implements LocalCommand {
|
||||||
List<GroupInfo> groups = m.getGroups();
|
List<GroupInfo> groups = m.getGroups();
|
||||||
ObjectMapper mapper = new ObjectMapper();
|
ObjectMapper mapper = new ObjectMapper();
|
||||||
JsonNode data_obj = mapper.valueToTree(groups);
|
JsonNode data_obj = mapper.valueToTree(groups);
|
||||||
return new JsonEventLoopStatusReport( "group_list", reqID, data_obj);
|
return new JsonEventLoopStatusReport( "list_groups", reqID, data_obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -69,7 +69,7 @@ public class JsonEventLoopCommand implements LocalCommand {
|
||||||
List<ContactInfo> contacts = m.getContacts();
|
List<ContactInfo> contacts = m.getContacts();
|
||||||
ObjectMapper mpr = new ObjectMapper();
|
ObjectMapper mpr = new ObjectMapper();
|
||||||
JsonNode data_obj = mpr.valueToTree(contacts);
|
JsonNode data_obj = mpr.valueToTree(contacts);
|
||||||
return new JsonEventLoopStatusReport( "contact_list", reqID, data_obj);
|
return new JsonEventLoopStatusReport( "list_contacts", reqID, data_obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue