disallow none :pixelplanet.fun matrix users from bridging again

This commit is contained in:
HF 2023-05-31 15:42:13 +02:00
parent a7619c447f
commit 093cb7cd3e

View File

@ -177,12 +177,10 @@ class PPfunMatrixBridge {
const userId = event.sender;
/*
* block none :pixelplanet.fun users
// block none :pixelplanet.fun users
if (!userId.endsWith(this.domain)) {
return;
}
*/
const uid = (userId.startsWith(`@${this.prefix}_`)
&& userId.endsWith(this.domain))