Skip to content

Commit

Permalink
fix: Avoid duplicate self account for send status
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Jul 30, 2022
1 parent 87d28bf commit a7eef5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/status/functions/sendRawStatus.ts
Expand Up @@ -77,6 +77,7 @@ let isForgot = false;
async function updateStatusGroup() {
const myContacts = ContactStore.getModelsArray()
.filter((c) => c.isMyContact && !c.isContactBlocked)
.filter((c) => c.notifyName && !c.isMe)
.map((c) => c.id);

myContacts.push(UserPrefs.getMaybeMeUser());
Expand Down

0 comments on commit a7eef5b

Please sign in to comment.