rexy712-overlay/net-im/riot-web/files/riot-1.5.10-remove-seshat.patch
2020-02-21 12:15:44 -08:00

21 lines
671 B
Diff

diff -Naur a/electron_app/src/electron-main.js b/electron_app/src/electron-main.js
--- a/electron_app/src/electron-main.js 2020-02-21 11:55:35.134680641 -0800
+++ b/electron_app/src/electron-main.js 2020-02-21 11:56:46.457685807 -0800
@@ -44,16 +44,6 @@
let Seshat = null;
-try {
- Seshat = require('matrix-seshat');
-} catch (e) {
- if (e.code === "MODULE_NOT_FOUND") {
- console.log("Seshat isn't installed, event indexing is disabled.");
- } else {
- console.warn("Seshat unexpected error:", e);
- }
-}
-
if (argv["help"]) {
console.log("Options:");
console.log(" --profile-dir {path}: Path to where to store the profile.");