Giter VIP home page Giter VIP logo

Comments (5)

robvanderleek avatar robvanderleek commented on June 21, 2024

Hi @vinne81

As you clearly explain in your question, this is indeed how it works: to WA it appears as if you are sending the message yourself (because even though it's automated, your credentials are used for authentication when logging in with the QR code).

Maybe there is a way in the WA API to flag a message as "automated" or "bot", or something like that, but I haven't found that option in the Baileys library.

KR, Rob

from mudslide.

vinne81 avatar vinne81 commented on June 21, 2024

Hi Rob

I've been browsing the Issues for Baileys looking for clues, and I found a thread that might contain some info related to this issue. Although they are talking about notifications for incoming messages, and we're talking about our own sent messages.

I'm not sure what causes the messages to be auto-read. Some baked-in Whatsapp thing that whatever you sent, you auto read, or is it the client that sends the messages that also reads it.

Anyway: WhiskeySockets/Baileys#299

const sock = makeWASocket({ ...config, markOnlineOnConnect: false })

Could the above help?

Best regards
Vincent

from mudslide.

create-issue-branch avatar create-issue-branch commented on June 21, 2024

Branch issue-75-Prevent_message_getting_auto-marked_as_read_on_the_senders_devices created!

from mudslide.

robvanderleek avatar robvanderleek commented on June 21, 2024

Hi @vinne81

I tried the option in this branch, unfortunately it doesn't seem to affect the behavior described above.

You should be able to run the branch yourself if you want to verify:

npx github:robvanderleek/mudslide#issue-75-Prevent_message_getting_auto-marked_as_read_on_the_senders_devices

from mudslide.

stale avatar stale commented on June 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from mudslide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.