OrangeDrangon / android-messages-desktop

Android Messages as a Cross-platform Desktop App
Other
312 stars 27 forks source link

Notification contents hidden even when setting unchecked #383

Open LSeelig opened 2 years ago

LSeelig commented 2 years ago

Describe the bug Notifications show as:

Android Messages New Notification

when _Settings > Hide Notification Content is unchecked.

To Reproduce Steps to reproduce the behavior:

  1. Go to alt->settings
  2. Uncheck 'Hide Notification Content'
  3. Click in another window, cover window, or minimize to taskbar or tray (change focus)
  4. Receive notification
  5. Watch toast notification or win-n to open notification center

Expected behavior A notification containing the sender and start/content of their message appears.

Screenshots In notification area: Screenshot (17) On desktop (As a toast): Screenshot (18)

Desktop (please complete the following information):

Additional context The received notification is not the same one received with 'Hide Notification Content' enabled.

OrangeDrangon commented 2 years ago

I do not think this is a notification generated by my code. The overriding of the message when hide notification content is enable is New Message not New notification. From a quick grepping New notification does not appear in the repository at all. image

LSeelig commented 2 years ago

Hmm. As I stated, this isn't the notification that appears when 'Hide Notification Content' is enabled. This might be on Google, but could it be the generic notification sent by Electron apps if there's some problem with the request?

OrangeDrangon commented 2 years ago

Interesting. I will look into this more.