Add ListGroups command

Option: -d/--detailed to display group members
This commit is contained in:
Pim Otte 2017-02-20 14:28:41 +01:00 committed by AsamK
parent 453f31891c
commit b0d7daeca2
2 changed files with 36 additions and 0 deletions

View file

@ -580,6 +580,10 @@ class Manager implements Signal {
}
throw new NotAGroupMemberException(groupId, g.name);
}
public List<GroupInfo> getGroups() {
return groupStore.getGroups();
}
@Override
public void sendGroupMessage(String messageText, List<String> attachments,