From dc95472aaf041849b7110fe964d77092a62b6cf4 Mon Sep 17 00:00:00 2001 From: Steven Luo Date: Mon, 30 May 2011 18:32:28 -0700 Subject: [PATCH] Fix broadcast on topic change --- application/src/org/yaaic/irc/IRCConnection.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/application/src/org/yaaic/irc/IRCConnection.java b/application/src/org/yaaic/irc/IRCConnection.java index 2e4e50c..f8fe944 100644 --- a/application/src/org/yaaic/irc/IRCConnection.java +++ b/application/src/org/yaaic/irc/IRCConnection.java @@ -727,6 +727,14 @@ public class IRCConnection extends PircBot target ); service.sendBroadcast(intent); + + // update the displayed conversation title if necessary + intent = Broadcast.createConversationIntent( + Broadcast.CONVERSATION_TOPIC, + server.getId(), + target + ); + service.sendBroadcast(intent); } /** @@ -755,14 +763,6 @@ public class IRCConnection extends PircBot target ); service.sendBroadcast(intent); - - // update the displayed conversation title if necessary - intent = Broadcast.createConversationIntent( - Broadcast.CONVERSATION_TOPIC, - server.getId(), - target - ); - service.sendBroadcast(intent); } /**