Skip to content

fix: posts missing inReplyTo key interfere with queue processing

Ghost User requested to merge (removed):patch-1 into main

stop this error from preventing queue processing. do so using the same check for the existence of the inReplyTo key that is performed elsewhere in inbox.py.

Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/opt/epicyon/threads.py", line 48, in __run
    self.__run_backup()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/epicyon/inbox.py", line 2968, in runInboxQueue
    inboxAfterCapabilities(recentPostsCache,
  File "/opt/epicyon/inbox.py", line 2367, in inboxAfterCapabilities
    inReplyTo = postJsonObject['object']['inReplyTo']
KeyError: 'inReplyTo'

Merge request reports