Enabled clients to have groups as contacts
This commit is contained in:
parent
2d99a3785e
commit
026b7404b2
@ -13,7 +13,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public class Contacts implements Serializable {
|
public class Contacts implements Serializable {
|
||||||
|
|
||||||
private final List<User> contacts;
|
private final List<Contact> contacts;
|
||||||
|
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ public class Contacts implements Serializable {
|
|||||||
* @param contacts the contact list
|
* @param contacts the contact list
|
||||||
* @since Envoy Common v0.2-alpha
|
* @since Envoy Common v0.2-alpha
|
||||||
*/
|
*/
|
||||||
public Contacts(List<User> contacts) { this.contacts = contacts; }
|
public Contacts(List<Contact> contacts) { this.contacts = contacts; }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() { return String.format("Contacts[%s]", contacts); }
|
public String toString() { return String.format("Contacts[%s]", contacts); }
|
||||||
@ -32,5 +32,5 @@ public class Contacts implements Serializable {
|
|||||||
* @return a list of users messages can be sent to
|
* @return a list of users messages can be sent to
|
||||||
* @since Envoy Common v0.2-alpha
|
* @since Envoy Common v0.2-alpha
|
||||||
*/
|
*/
|
||||||
public List<User> getContacts() { return contacts; }
|
public List<Contact> getContacts() { return contacts; }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user