- fix NPE when querying for annotations history

This commit is contained in:
Richard Alam 2012-08-17 14:41:42 +00:00
parent 33fcacb00b
commit 40dbd9bab5

View File

@ -91,6 +91,7 @@ public class WhiteboardRoom {
}
public List<Annotation> getAnnotations() {
if (activePresentation == null) return new ArrayList<Annotation>();
return activePresentation.getActivePage().getAnnotations();
}