mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 08:52:18 -05:00
Show channel name in debug toast
This commit is contained in:
parent
c2755bd40c
commit
3b991b3733
@ -190,7 +190,7 @@ public class IRCConnection extends PircBot
|
||||
{
|
||||
debug("Message", target + " " + sender + " " + message);
|
||||
|
||||
server.getChannel(target).addMessage("<" + sender + ">" + message);
|
||||
server.getChannel(target).addMessage("<" + sender + "> " + message);
|
||||
|
||||
Intent intent = new Intent(Broadcast.CHANNEL_MESSAGE);
|
||||
intent.putExtra(Broadcast.EXTRA_CHANNEL, target);
|
||||
|
@ -190,7 +190,7 @@ public class ServerActivity extends Activity implements ServiceConnection, Chann
|
||||
{
|
||||
String message = server.getChannel(target).pollMessage();
|
||||
|
||||
Toast.makeText(this, message, Toast.LENGTH_SHORT).show();
|
||||
Toast.makeText(this, "(" + target + ") " + message, Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user