1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00

Show channel name in debug toast

This commit is contained in:
Sebastian Kaspari 2010-03-02 20:34:05 +01:00
parent c2755bd40c
commit 3b991b3733
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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();
}
/**