Skip to content

Commit

Permalink
Empty service/chat/mam/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis committed Jan 2, 2025
1 parent 9a8bcac commit 170cb42
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions service/chat/mam/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Q_INSERT = """
"""

Q_SELECT = """
"""


"""
<iq type='set' id='${queryId}'>
<query xmlns='urn:xmpp:mam:2' queryid='${queryId}'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>urn:xmpp:mam:2</value>
</field>
<field var='with'>
<value>${personUuidToJid(withPersonUuid)}</value>
</field>
</x>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>50</max>
<before>${beforeId}</before>
</set>
</query>
</iq>
"""

"""
<message
type='chat'
from='[email protected]'
to='[email protected]'
id='id3'
check_uniqueness='false'
xmlns='jabber:client'>
<body>message will be sent with no notification</body>
<request xmlns='urn:xmpp:receipts'/>
</message>
"""

0 comments on commit 170cb42

Please sign in to comment.