Browse Source

Fixes nicklist and topicbar being empty on channel join

Change-Id: Ib4cb9e6fc1222eddc8dafab30104b951f8d0ae41
Reviewed-on: http://gerrit.dmdirc.com/1167
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
tags/0.6.4
Greboid 14 years ago
parent
commit
856ec9f657

+ 1
- 1
src/com/dmdirc/addons/ui_swing/components/TopicBar.java View File

@@ -193,7 +193,7 @@ public class TopicBar extends JComponent implements ActionListener,
193 193
         topicText.setEditable(false);
194 194
         topicCancel.setVisible(false);
195 195
         setColours();
196
-        validateTopic();
196
+        topicChanged(channel, channel.getCurrentTopic());
197 197
     }
198 198
 
199 199
     /** {@inheritDoc} */

+ 2
- 0
src/com/dmdirc/addons/ui_swing/components/frames/ChannelFrame.java View File

@@ -111,6 +111,8 @@ public final class ChannelFrame extends InputTextFrame implements ActionListener
111 111
 
112 112
         identity = IdentityManager.getChannelConfig(getChannel().getServer().
113 113
                 getNetwork(), getChannel().getChannelInfo().getName());
114
+        updateNames(((Channel) getContainer()).getChannelInfo()
115
+                .getChannelClients());
114 116
     }
115 117
 
116 118
     /**

Loading…
Cancel
Save