Prevent sending broadcast to ourselves at startup

pull/315/head
sachaaaaa 6 years ago
parent 149a4d41f8
commit e7b2448087

@ -14,6 +14,8 @@
);
await Promise.all(
friendKeys.map(async pubKey => {
if (pubKey === textsecure.storage.user.getNumber())
return
try {
await sendOnlineBroadcastMessage(pubKey);
} catch (e) {

Loading…
Cancel
Save