Mom!! I think i fixed a race condition (a.k.a bug)
This commit is contained in:
parent
b15694c349
commit
bcbe400d76
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue