8go / matrix-commander

simple but convenient CLI-based Matrix client app for sending and receiving
GNU General Public License v3.0
549 stars 59 forks source link

Enhancement: Show invites, Accept invites #118

Closed u9000-Nine closed 1 year ago

u9000-Nine commented 1 year ago

Is there a way to automatically accept invites, or the recieve invite events with something like the --listen option?

ga-it commented 1 year ago

Did you find an answer?

Critical issue for me!

u9000-Nine commented 1 year ago

You could use the -e/--event option, which allows you to use the matrix client–server API. Ideally though, a way to accept invites should be implemented, because if you have to do everything through the API, then it’s not really a client.

ga-it commented 1 year ago

In my case - invite after whatsappbot pm request - I can actually accept the invite via --room-join

My issue is actually getting the room id of the invite / listing invites

v1-valux commented 1 year ago

I would also like to find a solution for that.. As a "chat-bot" feature, this would be very useful.

any example how to solve it via API? or a quick way to implement some sort of join(room_id) option into the commander script?

8go commented 1 year ago

See version 7.1.0.

8go commented 1 year ago

matrix-commander --listen forever --room-invites list+join -d

8go commented 1 year ago

re-open if necessary ...