mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Sanitize message ID coming from Matrix
This commit is contained in:
parent
85dbadee5c
commit
ced72f4a89
1 changed files with 2 additions and 1 deletions
|
@ -2718,7 +2718,8 @@ notify_event_xmpp(
|
|||
UserJID = jid:make(LUser, LServer, LResource),
|
||||
MsgID =
|
||||
case Content of
|
||||
#{<<"net.process-one.xmpp-id">> := MID} ->
|
||||
#{<<"net.process-one.xmpp-id">> := MID}
|
||||
when is_binary(MID) ->
|
||||
MID;
|
||||
_ ->
|
||||
<<"">>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue