Huh. I could've sworn I'd bemoaned in the past that I couldn't use
the fancy for loops in a case like this, but apparently it DOES work. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4754 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -336,9 +336,7 @@ public class SpeakProvider
|
|||||||
msg.timestamp = System.currentTimeMillis();
|
msg.timestamp = System.currentTimeMillis();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int ii = 0; ii < usernames.length; ii ++ ) {
|
for (Name username : usernames) {
|
||||||
Name username = usernames[ii];
|
|
||||||
|
|
||||||
// add the message to this user's chat history
|
// add the message to this user's chat history
|
||||||
ArrayList<ChatMessage> history = getHistoryList(username);
|
ArrayList<ChatMessage> history = getHistoryList(username);
|
||||||
history.add(msg);
|
history.add(msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user