diff --git a/application/res/values/strings.xml b/application/res/values/strings.xml
index c05577f..77c4ec6 100644
--- a/application/res/values/strings.xml
+++ b/application/res/values/strings.xml
@@ -120,6 +120,8 @@
New messages in: %1$s
Connected to %1$s
+ Now logging in...
+ Server login done.
%1$s deops %2$s
%1$s devoices %2$s
%1$s invites you into %2$s
diff --git a/application/src/org/yaaic/irc/IRCConnection.java b/application/src/org/yaaic/irc/IRCConnection.java
index 3aea648..1330f73 100644
--- a/application/src/org/yaaic/irc/IRCConnection.java
+++ b/application/src/org/yaaic/irc/IRCConnection.java
@@ -151,6 +151,10 @@ public class IRCConnection extends PircBot
message.setColor(Message.COLOR_GREEN);
server.getConversation(ServerInfo.DEFAULT_NAME).addMessage(message);
+ Message infoMessage = new Message(service.getString(R.string.message_now_login));
+ infoMessage.setColor(Message.COLOR_GREY);
+ server.getConversation(ServerInfo.DEFAULT_NAME).addMessage(infoMessage);
+
Intent intent = Broadcast.createConversationIntent(
Broadcast.CONVERSATION_MESSAGE,
server.getId(),
@@ -203,6 +207,18 @@ public class IRCConnection extends PircBot
joinChannel(channel);
}
}
+
+ Message infoMessage = new Message(service.getString(R.string.message_login_done));
+ infoMessage.setColor(Message.COLOR_GREY);
+ server.getConversation(ServerInfo.DEFAULT_NAME).addMessage(infoMessage);
+
+ Intent intent = Broadcast.createConversationIntent(
+ Broadcast.CONVERSATION_MESSAGE,
+ server.getId(),
+ ServerInfo.DEFAULT_NAME
+ );
+
+ service.sendBroadcast(intent);
}
/**
* On channel action