diff --git a/src/assets/quotes/en/quotes.json b/src/assets/quotes/en/quotes.json index de94f96..8113d4b 100644 --- a/src/assets/quotes/en/quotes.json +++ b/src/assets/quotes/en/quotes.json @@ -50,7 +50,7 @@ { "quote":"Every child is an artist. The problem is how to remain an artist once he grows up.","author":"Pablo Picasso"}, { - "quote":"You can never cross the ocean until you have the courage to lose sight of the shore.","author":"Christopher Columbus"}, + "quote":"We will be known forever by the tracks we leave.","author":"Dakota Tribe"}, { "quote":"I’ve learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel.","author":"Maya Angelou"}, { diff --git a/src/components/messages/messageMixin.js b/src/components/messages/messageMixin.js index e51e53c..ba2a917 100644 --- a/src/components/messages/messageMixin.js +++ b/src/components/messages/messageMixin.js @@ -82,7 +82,7 @@ export default { while (lines.length && !lines[0].startsWith('> ')) lines.shift(); // Reply fallback has a blank line after it, so remove it to prevent leading newline if (lines[0] === '') lines.shift(); - const text = lines[0].replace(/^> (<.*> )?/g, ''); + const text = lines[0] && lines[0].replace(/^> (<.*> )?/g, ''); if (text) { return text; } diff --git a/vue.config.js b/vue.config.js index 6fa5b22..ca29041 100644 --- a/vue.config.js +++ b/vue.config.js @@ -19,7 +19,7 @@ module.exports = { resolve: { fallback: { "path": require.resolve("path-browserify"), - "crypto": false, //require.resolve("crypto-browserify"), + "crypto": require.resolve("crypto-browserify"), "stream": require.resolve("stream-browserify"), "fs": require.resolve("browserify-fs"), "buffer": require.resolve("buffer")