What steps will reproduce the problem?
When creating the room with history option:
Room room = roomManager.open(uri, historyOptions);
- it not generated the corect precense, because in RoomChatManager class to
store history property is used string key HISTORY_OPTIONS_PROP =
"history.options" and it not the same as in RoomChat class used to retrieve
option in open():
final HistoryOptions historyOptions = (HistoryOptions)
properties.getData(HistoryOptions.KEY);
here HistoryOptions.KEY = "RoomHistoryOptions"
Solution:
After changing in RoomChatManager class line:
private static final String HISTORY_OPTIONS_PROP = "history.options";
to
private static final String HISTORY_OPTIONS_PROP = HistoryOptions.KEY;
the problem is done.
Original issue reported on code.google.com by valdas.z...@gmail.com on 8 Oct 2010 at 9:33
Original issue reported on code.google.com by
valdas.z...@gmail.com
on 8 Oct 2010 at 9:33