matrix-commander icon indicating copy to clipboard operation
matrix-commander copied to clipboard

Question: Getting unread messages using matrix-commander

Open rasmus-kirk opened this issue 4 years ago • 3 comments

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

rasmus-kirk avatar Jun 30 '21 14:06 rasmus-kirk

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 avatar Aug 05 '21 17:08 8go

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

rasmus-kirk avatar Sep 22 '21 13:09 rasmus-kirk

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.

8go avatar Apr 04 '23 14:04 8go