As Andrzej points out, this injected member should be transient. But oddly, the
original source code did not list it as such: - protected Name _user; - @Inject ChatHistory _chatHistory; - } I wonder whether it worked... git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6559 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -142,7 +142,7 @@ public abstract class ChatChannelManager
|
|||||||
listener.requestProcessed(Lists.newArrayList(Iterables.filter(
|
listener.requestProcessed(Lists.newArrayList(Iterables.filter(
|
||||||
_chatHistory.get(user), IS_USER_MESSAGE)));
|
_chatHistory.get(user), IS_USER_MESSAGE)));
|
||||||
}
|
}
|
||||||
protected @Inject ChatHistory _chatHistory;
|
@Inject protected transient ChatHistory _chatHistory;
|
||||||
}, new NodeRequestsListener<List<ChatHistory.Entry>>() {
|
}, new NodeRequestsListener<List<ChatHistory.Entry>>() {
|
||||||
public void requestsProcessed (NodeRequestsResult<List<ChatHistory.Entry>> rRes) {
|
public void requestsProcessed (NodeRequestsResult<List<ChatHistory.Entry>> rRes) {
|
||||||
ChatHistoryResult chRes = new ChatHistoryResult();
|
ChatHistoryResult chRes = new ChatHistoryResult();
|
||||||
|
|||||||
Reference in New Issue
Block a user