Fix line lengths and add limit to .editorconfig

This commit is contained in:
Tulir Asokan
2018-04-29 23:51:11 +03:00
parent 73e7b8f635
commit 1e0f2c72b5
5 changed files with 38 additions and 24 deletions
+5 -4
View File
@@ -93,10 +93,11 @@ class MatrixHandler:
if user == self.az.bot_mxid:
await self.az.intent.join_room(room)
if not inviter.whitelisted:
await self.az.intent.send_notice(room, text=None,
html="You are not whitelisted to use this bridge.<br/><br/>"
"If you are the owner of this bridge, see the "
"<code>bridge.permissions</code> section in your config file.")
await self.az.intent.send_notice(
room, text=None,
html="You are not whitelisted to use this bridge.<br/><br/>"
"If you are the owner of this bridge, see the "
"<code>bridge.permissions</code> section in your config file.")
await self.az.intent.leave_room(room)
return
elif not inviter.whitelisted: