From 9b3ef21537e3fa2fd77ba6b977c5c7790e7eea52 Mon Sep 17 00:00:00 2001 From: hippoz Date: Sat, 5 Dec 2020 23:23:50 +0200 Subject: [PATCH] hopefully fix clumping --- app/resources/js/app.js | 2 +- libbrainlet/test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/resources/js/app.js b/app/resources/js/app.js index 706fb80..05955bb 100755 --- a/app/resources/js/app.js +++ b/app/resources/js/app.js @@ -269,7 +269,7 @@ const app = new Vue({ return true; } } - if (lastMessage.author._id === messageObject.author.id) return true; + if (lastMessage.author._id === messageObject.author._id) return true; }, processMessage: async function(messageObject) { if (!this.messages[messageObject.category._id]) this.$set(this.messages, messageObject.category._id, []); diff --git a/libbrainlet/test.js b/libbrainlet/test.js index 220d8a0..97ec50f 100644 --- a/libbrainlet/test.js +++ b/libbrainlet/test.js @@ -1,7 +1,7 @@ const Client = require('./index'); -const LISTEN_ON = '5fc829314e96e00725c17fd8'; -const TOKEN = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXIiLCJpYXQiOjE2MDcxOTE5NjAsImV4cCI6MTYwNzIwMjc2MH0.dfI6CMeDNck-ubqwEmiMFdHbRR4iiuooeTuzgVc_8rY'; +const LISTEN_ON = '5fcbf598b39160080e797ad6'; +const TOKEN = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IlNTQm90IiwiaWF0IjoxNjA3MjAyMjUxLCJleHAiOjE2MDcyMTMwNTF9.V9dL3cTe37M5-QDftK4XQwLMnPKoUcaGqL_YVstGTYo'; const PREFIX = '::'; const ADMIN_ID = '5fc828ea4e96e00725c17fd7';