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:
@@ -135,7 +135,7 @@ public class JabberClient
|
|||||||
_locdir = new LocationDirector(_ctx);
|
_locdir = new LocationDirector(_ctx);
|
||||||
_occdir = new OccupantDirector(_ctx);
|
_occdir = new OccupantDirector(_ctx);
|
||||||
_msgmgr = new MessageManager(MESSAGE_MANAGER_PREFIX);
|
_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;
|
return _chatdir;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MessageManager getMessageManager () {
|
||||||
|
return _msgmgr;
|
||||||
|
}
|
||||||
|
|
||||||
public void setPlaceView (PlaceView view) {
|
public void setPlaceView (PlaceView view) {
|
||||||
// TBD
|
// TBD
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user