auto-invite-matrix-bot

A small bot to redirect people.
git clone git://archive.git.mtrnord.blog/MTRNord/auto-invite-matrix-bot.git
Log | Files | Refs | README | LICENSE

commit aa96059477ad61562fbf5415adc0b643733e43b0
parent e14d6ad83456efc6554d3e28a95464f31d8c2574
Author: Marcel <mtrnord1@gmail.com>
Date:   Sat,  7 Mar 2020 21:28:56 +0100

Remove TODOs

Took 26 seconds

Diffstat:
Msrc/main.rs | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -187,8 +187,6 @@ async fn get_client( Ok((client, control_room_id)) } -// TODO create control room and invite user - async fn parse_invites( client: &HttpsClient, room_id: RoomId, @@ -417,7 +415,6 @@ async fn do_stuff(config: &Config, server: &Homeserver) -> Result<(), failure::E .await?; } for (room_id, room) in res.rooms.join { - // TODO message main account in control room about the mention and allow them to either get invited or to acknowledge it let events = room.timeline.events; for event in events.into_iter().flat_map(|r| r.into_result()) {