[skip ci] small fixes
This commit is contained in:
1 parent
7286c099a0
commit
48b10e8618
2 files changed
+6
-3
No files matched your search
@@ -17,6 +17,9 @@ namespace Innertube
|
||||
if sessionData = invalid or not IsInt(sessionData.timestamp)
|
||||
return false
|
||||
end if
|
||||
if StringUtils.IsNullOrEmpty(sessionData.visitorData)
|
||||
return false
|
||||
end if
|
||||
nowSeconds = TimeUtils.Now().AsSeconds()
|
||||
return nowSeconds - sessionData.timestamp <= INNERTUBE_VISITOR_DATA_LIFESPAN_SECONDS
|
||||
end function
|
||||
|
||||
Reference in new issue
Block a user