Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deleting messages from matrix-side (for logged in user) is broken in 0.8.1 #498

Closed
bendschs opened this issue Jul 18, 2020 · 1 comment
Closed
Labels
bug: regression Something isn't working, but it used to work before
Milestone

Comments

@bendschs
Copy link

When i try to delete messages in a telegram-room from matrix-side the following error message comes up in the logs, the message appears to be deleted in matrix room, but the deletion is not bridged to the actual telegram chat. this happens when i am logged in as my telegram user. everything else is being bridged from both sides, so double puppeting works just fine except for delete from matrix side.

Traceback (most recent call last):
  File "/opt/synapse/lib/python3.7/site-packages/mautrix/appservice/as_handler.py", line 147, in try_handle
    await handler_func(event)
  File "/opt/synapse/lib/python3.7/site-packages/mautrix/bridge/matrix.py", line 335, in int_handle_event
    if self.filter_matrix_event(evt):
  File "/opt/synapse/lib/python3.7/site-packages/mautrix_telegram/matrix.py", line 395, in filter_matrix_event
    if evt.content.get("net.maunium.telegram.puppet", False):
AttributeError: '_Nothing' object has no attribute 'get'
[2020-07-19 00:53:20,929] [[email protected]] 127.0.0.1 [18/Jul/2020:22:53:20 +0000] "PUT /transactions/71100?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  HTTP/1.1" 200 158 "-" "Synapse/1.17.0"

(access token was replaced for privacy reasons)

@tulir tulir added the bug: regression Something isn't working, but it used to work before label Jul 19, 2020
@tulir tulir added this to the 0.8.x milestone Jul 19, 2020
@tulir
Copy link
Member

tulir commented Jul 27, 2020

Fixed in mautrix-python v0.5.8 and v0.6.0

@tulir tulir closed this as completed Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: regression Something isn't working, but it used to work before
Development

No branches or pull requests

2 participants