fix(xep): Fix crash for messages with no id
This commit is contained in:
parent
c3088f9046
commit
14b62cef96
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user