20 Commits (master)
 

Author SHA1 Message Date
lub 4c915d6ae7 increase duration to int64 4 years ago
lub 10194dc97a switch to latest tag in Dockerfile 4 years ago
lub 94179601b7 fix regex to react only on !ping or !ping <msg> 5 years ago
lub 2da74c6841 add readme 5 years ago
lub 8ade0348eb fix token retrieval at first sync 5 years ago
lub c138e2c1a3 ignore events before we joined 5 years ago
lub 7c4cdfdf9d only trigger if !ping is beginning of line 5 years ago
lub 77e4515b3d simplify invite handling
this also fixes a bug where the bot only joined invite-only rooms
whoops
5 years ago
lub 82bce8415d add -Unencrypted parameter
this enables unencrypted connections to $HomeServer, which is
often the case if the bot runs in an internal network with direct
access to the homeserver c-s listener
5 years ago
lub d5b5778c7a add Dockerfile and shebang
fixes #7
5 years ago
lub a5d2c276eb remove double slashes from $uri 5 years ago
lub 02a8021a4e read parameters optionally from $env and $env+_FILE
fixes #6
5 years ago
lub d80bfe6435 change type of $HomeServer to [uri]
this makes it more verbose what $HomeServer is and is
also technically the correct type for Invoke-RestMethod -Uri,
although we only use it concatinated there
5 years ago
lub 9a9153253e add LICENSE.md
fixes #5
5 years ago
lub ab3137b963 auto join on invite
fixes #3

this adds m.room.member to the StateFilter and introduces the function
Join-MatrixRoom
it also introduces an additional hook in Invoke-MatrixSync
5 years ago
lub 40932d41cb optimize startup and filter events
next_batch now is saved to account_data and retreived on the first start,
so we don't get already processed events during startup

additionally there now is a huge filter, which extracts only the
events+fields we really need. this prevents problems like e.g. account_data
feedback loops uneccessary syncs because ephemeral events
5 years ago
lub 88e06c726f add pong subkey to sent matrix events 5 years ago
lub 76c00b9c25 remove obsolete debug comment 5 years ago
--global 4fe1cdddcb add functionality to respond to pings 5 years ago
--global fe23666fc0 implement sending messages 5 years ago