Browse Source

maunium -> miscworks

better-receipts-dm
Andrew Ferrazzutti 6 days ago
parent
commit
1cf840e3d9
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      matrix_puppeteer_line/example-config.yaml
  2. +1
    -1
      matrix_puppeteer_line/portal.py
  3. +3
    -3
      matrix_puppeteer_line/web/provisioning_api.py

+ 1
- 1
matrix_puppeteer_line/example-config.yaml View File

@ -45,7 +45,7 @@ appservice:
# Display name and avatar for bot. Set to "remove" to remove display name/avatar, leave empty
# to leave display name/avatar as-is.
bot_displayname: LINE bridge bot
bot_avatar: mxc://maunium.net/VuvevQiMRlOxuBVMBNEZZrxi
bot_avatar: mxc://miscworks.net/uyHgFSLDDtATVGjtjWKwxrkK
# Community ID for bridged users (changes registration file) and rooms.
# Must be created manually.


+ 1
- 1
matrix_puppeteer_line/portal.py View File

@ -563,7 +563,7 @@ class Portal(DBPortal, BasePortal):
@property
def bridge_info_state_key(self) -> str:
return f"net.maunium.line://line/{self.chat_id}"
return f"net.miscworks.line://line/{self.chat_id}"
@property
def bridge_info(self) -> Dict[str, Any]:


+ 3
- 3
matrix_puppeteer_line/web/provisioning_api.py View File

@ -64,8 +64,8 @@ class ProvisioningAPI:
return None
for part in auth_parts:
part = part.strip()
if part.startswith("net.maunium.line.auth-"):
return part[len("net.maunium.line.auth-"):]
if part.startswith("net.miscworks.line.auth-"):
return part[len("net.miscworks.line.auth-"):]
return None
def check_token(self, request: web.Request) -> Awaitable['u.User']:
@ -107,7 +107,7 @@ class ProvisioningAPI:
if status.is_logged_in:
raise web.HTTPConflict(text='{"error": "Already logged in"}', headers=self._headers)
ws = web.WebSocketResponse(protocols=["net.maunium.line.login"])
ws = web.WebSocketResponse(protocols=["net.miscworks.line.login"])
await ws.prepare(request)
try:
async for url in user.client.login():


Loading…
Cancel
Save