mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
v2019.08.17
This commit is contained in:
+1
-5
@@ -4267,11 +4267,7 @@ if (window.CefSharp) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
$app.methods.addFeed = function (type, ref, extra) {
|
$app.methods.addFeed = function (type, ref, extra) {
|
||||||
var array = this.feedTable.data;
|
this.feedTable.data.push({
|
||||||
if (array.length > 50000) {
|
|
||||||
array.length.splice(0, array.length - 10000);
|
|
||||||
}
|
|
||||||
array.push({
|
|
||||||
created_at: new Date().toJSON(),
|
created_at: new Date().toJSON(),
|
||||||
type,
|
type,
|
||||||
userId: ref.id,
|
userId: ref.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user