G

plugin XEP-0384 (OMEMO) may block the message receiving workflow

If something is going wrong during OMEMO initialisation for profile (publishing failing for instance), the whole message receiving workflow is being block, blocking even plain text messages.

The messageReceived trigger is then blocked, and the blocking seems to happens at https://repos.goffi.org/libervia-backend/file/4cb38c8312a1/sat/plugins/plugin_xep_0384.py#l1463 where the deferred is waited forever.

S

syndace 07/10/2022, 13:35

After an initial attempt to fix this, we found that https://repos.goffi.org/libervia-backend/file/4cb38c8312a1/sat/plugins/plugin_xep_0384.py#l1032 seems to be blocking indefinitely.

S

syndace 12/11/2022, 14:38

As far as I'm aware this has been fixed in the meantime.

id

409

author

Goffi

created

24/09/2022, 15:01

updated

24/09/2022, 15:02

labels
backend XEP-0384 OMEMO
type
bug
status
queued
priority
normal
milestone
0.9
severity
major