aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--default-config.json2
-rw-r--r--src/server/VideoTimer.hx2
2 files changed, 2 insertions, 2 deletions
diff --git a/default-config.json b/default-config.json
index 53dfbe5..a975c12 100644
--- a/default-config.json
+++ b/default-config.json
@@ -56,7 +56,7 @@
"filters": [
{
"name": "image",
- "regex": "(https?:\\/\\/[^']*\\.)(png|jpg|gif|jpeg)([^' ,]*)",
+ "regex": "(https?:\\/\\/[^']*\\.)(png|jpg|gif|jpeg|webp)([^' ,]*)",
"flags": "g",
"replace": "<a href='$1$2$3' target='_blank' rel='noopener noreferrer'><img src='$1$2$3' class='chat-img'/></a>"
},
diff --git a/src/server/VideoTimer.hx b/src/server/VideoTimer.hx
index 7ac51d9..4bc29db 100644
--- a/src/server/VideoTimer.hx
+++ b/src/server/VideoTimer.hx
@@ -47,7 +47,7 @@ class VideoTimer {
}
function pauseTime():Float {
- if (!isPaused()) return 0;
+ if (pauseStartTime == 0) return 0;
return Timer.stamp() - pauseStartTime;
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage