fix(xep): Fix crash for messages with no id

This commit is contained in:
PapaTutuWawa 2023-09-26 13:59:51 +02:00
parent c3088f9046
commit 14b62cef96

View File

@ -282,6 +282,9 @@ class MUCManager extends XmppManagerBase {
}
// Check if this is the message reflection.
if (message.id == null) {
return state;
}
final pending =
(message.id!, state.extensions.get<StableIdData>()?.originId);
if (fromJid.resource == roomState.nick &&