Compare commits
7 Commits
v0.7.1-rc1
..
v0.7.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 07edcc4867 | |||
| 65d7934c21 | |||
| 842d98dc1c | |||
| b7e69ddc61 | |||
| 82f7905367 | |||
| 1d8699054c | |||
| 32c521cb79 |
+4
-3
@@ -6,9 +6,9 @@
|
|||||||
* [x] Message edits
|
* [x] Message edits
|
||||||
* [ ] ‡ Message history
|
* [ ] ‡ Message history
|
||||||
* [x] Presence
|
* [x] Presence
|
||||||
* [x] Typing notifications
|
* [x] Typing notifications*
|
||||||
* [x] Read receipts
|
* [x] Read receipts*
|
||||||
* [x] Pinning messages
|
* [x] Pinning messages*
|
||||||
* [x] Power level
|
* [x] Power level
|
||||||
* [x] Normal chats
|
* [x] Normal chats
|
||||||
* [ ] Non-hardcoded PL requirements
|
* [ ] Non-hardcoded PL requirements
|
||||||
@@ -56,5 +56,6 @@
|
|||||||
* [ ] ‡ Secret chats (not yet supported by Telethon)
|
* [ ] ‡ Secret chats (not yet supported by Telethon)
|
||||||
* [ ] ‡ E2EE in Matrix rooms (not yet supported
|
* [ ] ‡ E2EE in Matrix rooms (not yet supported
|
||||||
|
|
||||||
|
\* Requires [double puppeting](https://github.com/tulir/mautrix-telegram/wiki/Authentication#replacing-telegram-accounts-matrix-puppet-with-matrix-account) to be enabled
|
||||||
† Information not automatically sent from source, i.e. implementation may not be possible
|
† Information not automatically sent from source, i.e. implementation may not be possible
|
||||||
‡ Maybe, i.e. this feature may or may not be implemented at some point
|
‡ Maybe, i.e. this feature may or may not be implemented at some point
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
__version__ = "0.7.1rc1"
|
__version__ = "0.7.1"
|
||||||
__author__ = "Tulir Asokan <tulir@maunium.net>"
|
__author__ = "Tulir Asokan <tulir@maunium.net>"
|
||||||
|
|||||||
@@ -97,7 +97,6 @@ class AbstractUser(ABC):
|
|||||||
self.client = None
|
self.client = None
|
||||||
self.is_relaybot = False
|
self.is_relaybot = False
|
||||||
self.is_bot = False
|
self.is_bot = False
|
||||||
self.relaybot = None
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def connected(self) -> bool:
|
def connected(self) -> bool:
|
||||||
@@ -423,7 +422,7 @@ class AbstractUser(ABC):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if self.ignore_incoming_bot_events and self.relaybot and sender.id == self.relaybot.tgid:
|
if self.ignore_incoming_bot_events and self.relaybot and sender.id == self.relaybot.tgid:
|
||||||
self.log.debug(f"Ignoring relaybot-sent message %s to %s", update, portal.tgid_log)
|
self.log.debug(f"Ignoring relaybot-sent message %s to %s", update.id, portal.tgid_log)
|
||||||
return
|
return
|
||||||
|
|
||||||
if isinstance(update, MessageService):
|
if isinstance(update, MessageService):
|
||||||
|
|||||||
@@ -24,7 +24,8 @@ def log(message, end="\n"):
|
|||||||
|
|
||||||
|
|
||||||
def connect(to):
|
def connect(to):
|
||||||
from mautrix.bridge.db import Base, RoomState, UserProfile
|
from mautrix.util.db import Base
|
||||||
|
from mautrix.bridge.db import RoomState, UserProfile
|
||||||
from mautrix_telegram.db import (Portal, Message, UserPortal, User, Contact, Puppet, BotChat,
|
from mautrix_telegram.db import (Portal, Message, UserPortal, User, Contact, Puppet, BotChat,
|
||||||
TelegramFile)
|
TelegramFile)
|
||||||
|
|
||||||
|
|||||||
@@ -355,6 +355,7 @@ class ProvisioningAPI(AuthAPI):
|
|||||||
if err is not None:
|
if err is not None:
|
||||||
return err
|
return err
|
||||||
await user.log_out()
|
await user.log_out()
|
||||||
|
return web.json_response({}, status=200)
|
||||||
|
|
||||||
async def bridge_info(self, request: web.Request) -> web.Response:
|
async def bridge_info(self, request: web.Request) -> web.Response:
|
||||||
return web.json_response({
|
return web.json_response({
|
||||||
|
|||||||
Reference in New Issue
Block a user