From 9a66e74986876ded37bb027bd0f673cd1f975782 Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Tue, 19 Mar 2019 17:10:06 +0100 Subject: Handle absent muc member --- src/omemo/omemo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c index 548c3b9c..6e723891 100644 --- a/src/omemo/omemo.c +++ b/src/omemo/omemo.c @@ -734,6 +734,10 @@ omemo_on_message_recv(const char *const from_jid, uint32_t sid, break; } } + if (!sender) { + log_warning("OMEMO: cannot find MUC message sender fulljid"); + goto out; + } } else { sender = jid_create(from->barejid); } -- cgit 1.4.1-2-gfad0