Skip to content

Add user options to disable battery and certain connected messages#23

Open
seang96 wants to merge 1 commit intomautrix:mainfrom
seang96:main
Open

Add user options to disable battery and certain connected messages#23
seang96 wants to merge 1 commit intomautrix:mainfrom
seang96:main

Conversation

@seang96
Copy link
Copy Markdown

@seang96 seang96 commented Jun 19, 2024

This is an attempt of supporting issue #17.

I wanted to make the changes not break existing configurations. and the options to be toggled per user, so I added to "Connection Management" section of commands the following commands:

  1. toggle-battery-notifications - Silence Battery statuses.
  2. toggle-verbose-notifications - Silence Connected statuses when session changes and no data received recently.

The battery one toggles both "Phone battery restored" and "Your phone's battery is low" for the user.

The goal of toggle-verbose-notifications is to silence updates when everything is working as expected. If the status "Connected to Google Messages" is due to a disconnection longer for 5 minutes for example it will still show, but it will hide it when a session changes or when there is simply no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant