No-history transcript window bugfix.
Without this, an error occurs when trying to add messages to a window that has no history.
@@ -322,7 +322,7 @@ public class TranscriptWindow extends ChatArea implements ContextMenuListener
{
if ( entries.isEmpty() )
{
- new Date( 0 );
+ return new Date( 0 );
}
return Date.from( entries.getLast().getTimestamp().toInstant() );
}
