Skip to content

Commit 5522170

Browse files
0.5.18
1 parent 0a9a4dc commit 5522170

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "idmu",
3-
"version": "0.5.17",
3+
"version": "0.5.18",
44
"description": "idmu (instagram-dm-unsender) is a simple script to unsend all DMs in a thread on instagram.com",
55
"short_name": " idmu",
66
"type": "module",

src/ui/default/default-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class DefaultUI extends UI {
5353
this.lastScrollTop = i
5454
uiMessagesWrapperRoot.scrollTop = i
5555
uiMessagesWrapperRoot.dispatchEvent(new this.root.Event("scroll"))
56-
await new Promise(resolve => setTimeout(resolve, 200)) // IDMU_MESSAGE_QUEUE_DELAY
56+
await new Promise(resolve => setTimeout(resolve, 20)) // IDMU_MESSAGE_QUEUE_DELAY
5757
try {
5858
const messageElement = (await findMessages(uiMessagesWrapperRoot, abortController)).pop()
5959
if(messageElement) {

src/ui/default/dom-lookup.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { waitForElement } from "../../dom/async-events.js"
1111
*/
1212
export async function findMessages(root, abortController) {
1313
const elements = [...root.querySelectorAll("div[role=row]:not([data-idmu-ignore])")]
14-
console.debug("findMessages elements ", elements)
1514
const messageElements = []
1615
for(const element of elements) {
1716
if(element.style.display === "none" || root.ownerDocument.defaultView.getComputedStyle(element).display === "none") {

0 commit comments

Comments
 (0)