Mom!! I think i fixed a race condition (a.k.a bug)

This commit is contained in:
Bofh 2020-12-29 18:02:52 +01:00
parent b15694c349
commit bcbe400d76
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ var fediloveEvents = {
if (data) {
// if the message is mine, search which account is doing it for,
// and do the same with the party's data
if (localStorage.store_userAccountId === data.account.id) {
if (localStorage.store_userAccountId == data.account.id) {
var account_id = data.in_reply_to_account_id;
if (account_id === null && data.mentions.length > 0) {
account_id = data.mentions[0].id;