No need to pass MessageManager to ChatDirector constructor. Need to export

MessageManager in context.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1020 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2010-10-14 16:04:27 +00:00
parent b740b66d0a
commit 9321b6159b
@@ -135,7 +135,7 @@ public class JabberClient
_locdir = new LocationDirector(_ctx);
_occdir = new OccupantDirector(_ctx);
_msgmgr = new MessageManager(MESSAGE_MANAGER_PREFIX);
_chatdir = new ChatDirector(_ctx, _msgmgr, null);
_chatdir = new ChatDirector(_ctx, null);
}
/**
@@ -177,6 +177,10 @@ public class JabberClient
return _chatdir;
}
public MessageManager getMessageManager () {
return _msgmgr;
}
public void setPlaceView (PlaceView view) {
// TBD
}