|
@@ -86,9 +86,6 @@ public class Channel extends FrameContainer implements GroupChat {
|
86
|
86
|
private final GroupChatUserManager groupChatUserManager;
|
87
|
87
|
/** Whether we're in this channel or not. */
|
88
|
88
|
private boolean isOnChannel;
|
89
|
|
- /** Whether we should send WHO requests for this channel. */
|
90
|
|
- @ConfigBinding(domain = "channel", key = "sendwho")
|
91
|
|
- private volatile boolean sendWho;
|
92
|
89
|
/** Whether we should show mode prefixes in text. */
|
93
|
90
|
@ConfigBinding(domain = "channel", key = "showmodeprefix")
|
94
|
91
|
private volatile boolean showModePrefix;
|
|
@@ -229,7 +226,6 @@ public class Channel extends FrameContainer implements GroupChat {
|
229
|
226
|
final User me = connection.getLocalUser().get();
|
230
|
227
|
getEventBus().publishAsync(new ChannelSelfJoinEvent(this, me));
|
231
|
228
|
|
232
|
|
- checkWho();
|
233
|
229
|
setIcon("channel");
|
234
|
230
|
|
235
|
231
|
connection.getInviteManager().removeInvites(channelInfo.getName());
|
|
@@ -299,15 +295,6 @@ public class Channel extends FrameContainer implements GroupChat {
|
299
|
295
|
getEventBus().publish(new ChannelClosedEvent(this));
|
300
|
296
|
}
|
301
|
297
|
|
302
|
|
- /**
|
303
|
|
- * Called every {general.whotime} seconds to check if the channel needs to send a who request.
|
304
|
|
- */
|
305
|
|
- public void checkWho() {
|
306
|
|
- if (isOnChannel && sendWho) {
|
307
|
|
- channelInfo.sendWho();
|
308
|
|
- }
|
309
|
|
- }
|
310
|
|
-
|
311
|
298
|
/**
|
312
|
299
|
* Adds a ChannelClient to this Channel.
|
313
|
300
|
*
|