disallow none :pixelplanet.fun matrix users from bridging again
This commit is contained in:
parent
a7619c447f
commit
093cb7cd3e
|
@ -177,12 +177,10 @@ class PPfunMatrixBridge {
|
||||||
|
|
||||||
const userId = event.sender;
|
const userId = event.sender;
|
||||||
|
|
||||||
/*
|
// block none :pixelplanet.fun users
|
||||||
* block none :pixelplanet.fun users
|
|
||||||
if (!userId.endsWith(this.domain)) {
|
if (!userId.endsWith(this.domain)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
const uid = (userId.startsWith(`@${this.prefix}_`)
|
const uid = (userId.startsWith(`@${this.prefix}_`)
|
||||||
&& userId.endsWith(this.domain))
|
&& userId.endsWith(this.domain))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user