mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_mam: Keep chat markers (thanks Ge0rG)
This commit is contained in:
parent
8c1161cf77
commit
9bb75c85c4
1 changed files with 3 additions and 0 deletions
|
@ -301,6 +301,9 @@ local function should_store(stanza) --> boolean, reason: string
|
|||
-- and the same applies to the receipt
|
||||
return true, "receipt";
|
||||
end
|
||||
if stanza:get_child(nil, "urn:xmpp:chat-markers:0") then
|
||||
return true, "marker";
|
||||
end
|
||||
if stanza:get_child("x", "jabber:x:conference")
|
||||
or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then
|
||||
return true, "invite";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue