From b23710f89f23f453a7823e56258930d95fe7d46b Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 20 Jan 2019 09:51:24 -0600 Subject: Fix comments without startTimeSeconds --- src/invidious/comments.cr | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr index 1b81c6b7..c95f79b2 100644 --- a/src/invidious/comments.cr +++ b/src/invidious/comments.cr @@ -488,10 +488,14 @@ def content_to_comment_html(content) text = %(#{text}) elsif watch_endpoint = run["navigationEndpoint"]["watchEndpoint"]? - length_seconds = watch_endpoint["startTimeSeconds"].as_i + length_seconds = watch_endpoint["startTimeSeconds"]? video_id = watch_endpoint["videoId"].as_s - text = %(#{text}) + if length_seconds + text = %(#{text}) + else + text = %(#{text}) + end elsif url = run["navigationEndpoint"]["commandMetadata"]?.try &.["webCommandMetadata"]["url"].as_s text = %(#{text}) end -- cgit v1.2.3 privacy-redirect/refs/?id=a76ea4f66eea823c84457bfc6c36bd5d8c940e65'>refslogtreecommitdiffstats
path: root/src/_locales/ru/store.md (unfollow)
AgeCommit message (Collapse)Author
2021-01-30tr translation donehowoz
2021-01-30start of tr translationhowoz
2021-01-16invidious: Add invidious.tube to instancesYoussif Shaaban Alsager
2021-01-13Update Russian translationTotalCaesar659
2021-01-13Fixes #160 - Disable search redirects by default (sorry... 🙂)v1.1.46SimonBrazell
2021-01-12Translate "Random instance (none selected)" (#158)SimonBrazell
2021-01-11Update messages.jsonTotalCaesar659
2021-01-11Update Russian translationTotalCaesar659
2021-01-11Fix typoSimonBrazell
2021-01-11CLoses #130 changed to GPLv3, added SearX instances (#16), fixed instance ↵v1.1.45SimonBrazell
selects.
2021-01-11gecko: strict_min_version: 67.0 due to dynamic importsSimonBrazell
2021-01-11Fix for https://github.com/mozilla/addons-linter/issues/3541#issue-782801439SimonBrazell
2021-01-10Fixed README & build configv1.1.44SimonBrazell
2021-01-10Restructure code with helper modules, add search engine settings, & advanced ↵SimonBrazell
settings collapsibles.
2021-01-05Added more instances of teddit and libredditSoheb
2021-01-05Add support for libredd.itSoheb
2020-12-26Losslessly compress PNG imagesFrank3K
2020-12-17add nitter.unixfox.eu as a nitter instance to the listEmilien Devos
2020-11-29Update background.jsAustin Huang
2020-11-22Updated background.jsaapl-yumi
2020-11-17Add "yewtu.be" back to the random instance listÉmilien Devos
2020-11-11Update background.jsYumi Izumi
2020-11-09Update Russian translationTotalCaesar659
2020-11-09Update README.mdYumi Izumi
2020-11-09Update options.jsYumi Izumi
2020-11-09Update options.htmlYumi Izumi
2020-11-08Update popup.jsYumi Izumi
2020-11-08Update popup.htmlYumi Izumi
2020-11-08Update background.jsYumi Izumi
2020-11-08Closes #111 - Adds ability to customise random instance poolsv1.1.43SimonBrazell
2020-11-08Fixes #119 - Change zh-CN to zh_CN.SimonBrazell
2020-11-07Update README.mdKunio
Some suggestions, added FreeTube, updated invidious links, added permissions.
2020-11-05Update Russian translationTotalCaesar659
2020-11-04Update store listing templatesSimonBrazell
2020-11-04Update Bibliogram linksbopol
Bibliogram has moved to source hut (for a while now)
2020-11-04Remove duplicate entry in instagramReservedPaths arraySimonBrazell
2020-11-04Remove "https://yewtu.be" from random instance listSimonBrazell
2020-11-04Ignore embedded videos for FreeTube redirectsSimonBrazell
2020-11-04Fixes #99 - Bibliogram, handle /igtv/, /tv/ and /reel/v1.1.42SimonBrazell
2020-11-04Fixes #104 - /remove-twitter-sw.js stopping Twitter redirectsSimonBrazell
2020-11-04Closes #113 - Added support for FreeTubeSimonBrazell
2020-11-04Clean up invidious random instance listSimonBrazell
2020-10-23Rename _locales/store.md to _locales/pl/store.mdAustin Huang