|
@@ -62,9 +62,9 @@ public class ContactListCommand extends Command implements IntelligentCommand {
|
62
|
62
|
final CommandArguments args, final CommandContext context) {
|
63
|
63
|
final ChannelCommandContext chanContext = (ChannelCommandContext) context;
|
64
|
64
|
|
65
|
|
- final ContactListListener listener = new ContactListListener(chanContext.getChannel());
|
|
65
|
+ final ContactListListener listener = new ContactListListener(chanContext.getGroupChat());
|
66
|
66
|
listener.addListeners();
|
67
|
|
- chanContext.getChannel().getUsers().forEach(listener::clientAdded);
|
|
67
|
+ chanContext.getGroupChat().getUsers().forEach(listener::clientAdded);
|
68
|
68
|
}
|
69
|
69
|
|
70
|
70
|
@Override
|