Traceback (most recent call last):


 "/opt/mautrix-telegram/lib/python3.7/site-packages/mautrix_telegram/abstract_user.py", line 194, in _update_catch

await self._update(update)


 "/opt/mautrix-telegram/lib/python3.7/site-packages/mautrix_telegram/abstract_user.py", line 241, in _update

await self.update_message(update)


 "/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'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner

response = get_response(request)


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/usr/local/lib/python3.6/site-packages/django/views/decorators/cache.py", line 43, in _cache_controlled

response = viewfunc(request, *args, **kw)


 "/usr/local/lib/python3.6/site-packages/wagtail/wagtailadmin/urls/__init__.py", line 96, in wrapper

return view_func(request, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/wagtail/wagtailadmin/decorators.py", line 31, in decorated_view

return view_func(request, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/wagtail/contrib/settings/views.py", line 43, in edit_current_site

return redirect('wagtailsettings:edit', app_name, model_name, site.pk)
AttributeError: 'NoneType' object has no attribute 'pk'
