mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 20:58:02 -05:00
IRCConnection: Update notification onConnect
This commit is contained in:
parent
0743024ad9
commit
a8316bc55a
@ -121,7 +121,12 @@ public class IRCConnection extends PircBot
|
||||
public void onConnect()
|
||||
{
|
||||
server.setStatus(Status.CONNECTED);
|
||||
service.sendBroadcast(new Intent(Broadcast.SERVER_UPDATE));
|
||||
|
||||
service.sendBroadcast(
|
||||
Broadcast.createServerIntent(Broadcast.SERVER_UPDATE, server.getId())
|
||||
);
|
||||
|
||||
service.updateNotification("Connected to " + server.getTitle());
|
||||
|
||||
Message message = new Message("Connected to " + server.getTitle());
|
||||
message.setColor(Message.COLOR_GREEN);
|
||||
|
Loading…
Reference in New Issue
Block a user