Enabled clients to have groups as contacts
This commit is contained in:
parent
f93b01f65a
commit
587a6ebe72
@ -13,7 +13,7 @@ import java.util.List;
|
||||
*/
|
||||
public class Contacts implements Serializable {
|
||||
|
||||
private final List<User> contacts;
|
||||
private final List<Contact> contacts;
|
||||
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
@ -23,7 +23,7 @@ public class Contacts implements Serializable {
|
||||
* @param contacts the contact list
|
||||
* @since Envoy Common v0.2-alpha
|
||||
*/
|
||||
public Contacts(List<User> contacts) { this.contacts = contacts; }
|
||||
public Contacts(List<Contact> contacts) { this.contacts = contacts; }
|
||||
|
||||
@Override
|
||||
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
|
||||
* @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