robvanderleek / mudslide

Send WhatsApp messages from the command-line
ISC License
122 stars 12 forks source link

bug on 0.15: --footer not working #26

Closed lightaffaire closed 1 year ago

lightaffaire commented 1 year ago

$ npx mudslide@latest send me 'hello\nworld' --footer 'bye!'

on my 0.15 install only this appears on my WA:

hello world

robvanderleek commented 1 year ago

Hi @lightaffaire

The command npx mudslide@latest send me 'hello\nworld' --footer 'bye!' shows on my iOS app:

IMG_3052

However, in the web app I see:

image

Could it be a limitation of the web app? Could you check how it looks on a mobile app?

lightaffaire commented 1 year ago

I have upgraded to 0.16 and have noticed this:

  1. from fedora 37 linux to WA web I get:

hello world

but no --footer text (bye!)

  1. checking the same user on my android pixel 7 pro WA app I see NOTHING... no text and no footer!

send me / send-file me --caption / send-image me --caption ALL WORK OK and are visible on WA android app

robvanderleek commented 1 year ago

Sorry to hear it doesn't work for you.

npx mudslide@latest send me 'message text here' --footer 'this is footer text'

works for me. I'm using the iOS app, I don't have access to an Android phone atm.

lightaffaire commented 1 year ago

I just retried this on 0.17.1 and the issue is still there... no footer text is visible.

robvanderleek commented 1 year ago

Hi @lightaffaire

On iOS I now only get a footer when including buttons, for example:

npx mudslide@latest send me 'message text here' -b yes -b no --footer 'this is footer text'

results in: IMG_3058

Previously I would also get a footer without buttons, but that no longer works.

I think this issue originates from the Baileys library (behavior changed when upgrading to the latest release of that library). Unfortunately, there's not much I can do about it.

lightaffaire commented 1 year ago

I just retried this on 0.18.0 and the issue is still there... no footer text is visible.

robvanderleek commented 1 year ago

For me (on iOS) the footer only shows for messages with buttons. I guess we need to wait for a new Bailyes release, or there's a :bug: in the Mudslide code but I checked the code and the strange thing is that the same code did work before.

stale[bot] commented 1 year ago

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.