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

Messages in Telegram Channels are not bridged to Matrix #436

Closed
stfnnklv opened this issue Mar 3, 2020 · 1 comment
Closed

Messages in Telegram Channels are not bridged to Matrix #436

stfnnklv opened this issue Mar 3, 2020 · 1 comment

Comments

@stfnnklv
Copy link

stfnnklv commented Mar 3, 2020

Hello,

In version 0.7.1, messages posted in telegram channels are not bridged to Matrix. There is an exception in the log:

[[email protected].@snikolov:<channel>] Failed to handle Telegram update UpdateNewChannelMessage(message=Message(id=3234, to_id=PeerChannel(channel_id=1234567890), date=datetime.datetime(2020, 3, 3, 15, 33, 47, tzinfo=datetime.timezone.utc), message='Test', out=False, mentioned=False, media_unread=False, silent=False, post=True, from_scheduled=False, legacy=False, edit_hide=False, from_id=None, fwd_from=None, via_bot_id=None, reply_to_msg_id=None, media=None, reply_markup=None, entities=[], views=1, edit_date=None, post_author='Stefan Nikolov', grouped_id=None, restriction_reason=[]), pts=3557, pts_count=1)
Traceback (most recent call last):
  File "/opt/mautrix-telegram/lib/python3.7/site-packages/mautrix_telegram/abstract_user.py", line 194, in _update_catch
    await self._update(update)
  File "/opt/mautrix-telegram/lib/python3.7/site-packages/mautrix_telegram/abstract_user.py", line 241, in _update
    await self.update_message(update)
  File "/opt/mautrix-telegram/lib/python3.7/site-packages/mautrix_telegram/abstract_user.py", line 424, in update_message
    if self.ignore_incoming_bot_events and self.relaybot and sender.id == self.relaybot.tgid:
AttributeError: 'NoneType' object has no attribute 'id'

Kind regards,
Stefan Nikolov

@tulir
Copy link
Member

tulir commented Mar 3, 2020

Duplicate of #417

(already fixed, use v0.7.2-rc1)

@tulir tulir closed this as completed Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants