poljar / weechat-matrix

Weechat Matrix protocol script written in python
Other
954 stars 119 forks source link

how to leave and forget room? #344

Open ilf opened 1 year ago

ilf commented 1 year ago

Leaving a room with /buffer close only leaves it for the current weechat(-matrix) session, after restart it's back.

It seems /buffer close only does POST /_matrix/client/v3/rooms/{roomId}/leave, not POST /_matrix/client/v3/rooms/{roomId}/forget, see https://spec.matrix.org/v1.6/client-server-api/#leaving-rooms

How can I leave and forget a room?

craftyguy commented 1 year ago

/leave seems to work for me