comparison mod_muc_media_metadata/README.markdown @ 3687:c40422cca3b7

mod_muc_media_metadata: Include original message stanza example
author Matthew Wild <mwild1@gmail.com>
date Sun, 29 Sep 2019 18:32:12 +0100
parents 2573d143621f
children 20d436a1028d
comparison
equal deleted inserted replaced
3686:2573d143621f 3687:c40422cca3b7
19 19
20 There are no configuration options for this module. 20 There are no configuration options for this module.
21 21
22 # Developers 22 # Developers
23 23
24 Example stanza: 24 ## Example stanzas
25
26 A normal message in a chatroom containing an image:
27
28 ```
29 <message from="test@rooms.example.com/matthew" id="9f45a784-5e5b-4db5-a9b3-8ea1d7c1162d" type="groupchat">
30 <body>https://matthewwild.co.uk/share.php/70334772-ff74-439b-8173-a71e40ca28db/mam-flow.png</body>
31 <x xmlns="jabber:x:oob">
32 <url>https://matthewwild.co.uk/share.php/70334772-ff74-439b-8173-a71e40ca28db/mam-flow.png</url>
33 </x>
34 </message>
35 ```
36
37 The same stanza with this module loaded now contains additional metadata added by the server:
25 38
26 ``` 39 ```
27 <message from="test@rooms.example.com/matthew" id="9f45a784-5e5b-4db5-a9b3-8ea1d7c1162d" type="groupchat"> 40 <message from="test@rooms.example.com/matthew" id="9f45a784-5e5b-4db5-a9b3-8ea1d7c1162d" type="groupchat">
28 <body>https://matthewwild.co.uk/share.php/70334772-ff74-439b-8173-a71e40ca28db/mam-flow.png</body> 41 <body>https://matthewwild.co.uk/share.php/70334772-ff74-439b-8173-a71e40ca28db/mam-flow.png</body>
29 <x xmlns="jabber:x:oob"> 42 <x xmlns="jabber:x:oob">