Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Getting unread messages using matrix-commander #38

Open
rasmus-kirk opened this issue Jun 30, 2021 · 3 comments
Open

Question: Getting unread messages using matrix-commander #38

rasmus-kirk opened this issue Jun 30, 2021 · 3 comments
Labels
question Further information is requested

Comments

@rasmus-kirk
Copy link

rasmus-kirk commented Jun 30, 2021

Does anyone use matrix-commander, if so, how? Ideally this would be for all rooms, not just a single room

@8go 8go added the question Further information is requested label Aug 5, 2021
@8go
Copy link
Owner

8go commented Aug 5, 2021

Hi @KarukSophia

You can do that. Have a look at the options --listen and specifically --listen once. once gets unread messages from all rooms.

@8go 8go changed the title Getting unread messages using matrix-commander Question: Getting unread messages using matrix-commander Aug 5, 2021
@rasmus-kirk
Copy link
Author

All right, but what about getting the number of unread messages, without changing said number? The --listen action reads the messages so matrix-commander --listen once | wc -l won't do

@8go
Copy link
Owner

8go commented Apr 4, 2023

All right, but what about getting the number of unread messages, without changing said number? The --listen action reads the messages so matrix-commander --listen once | wc -l won't do

Getting the number (count) of unread messages would be an enhancement. Not sure if matrix-nio has an API for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants