nl_tokens: Clears out state persisted reply cache
pl_tokens: function cleanupRepliesCache ( ) { const keysToRemove = [ ] ; try { for ( let i = 0 ; i < localStorage . length ; i ++ ) { const storedReplyKey = localStorage . key ( i ) ; // cleanup caches replies older than a day if ( 'reply_' == localStorage . key ( i ) . substring ( 0 , 6 ) ) { const storedReply = getItem ( storedReplyKey ) ; if ( storedReply && Date . now ( ) - storedReply [ 1 ] >= 24 * 60 * 60 * 1000 ) { keysToRemove . <mask> ( storedReplyKey ) ; } } } } catch ( e ) { debug ( 'couldnt cleanup cache' ) ; } keysToRemove . forEach ( function ( key ) { removeItem ( key ) ; } ) ; }