diff mod_ogp/README.markdown @ 4597:c858c76d0845

mod_tweet_data: New module that fetches and sends tweet data based on tweet URLs in MUC messages.
author JC Brand <jc@opkode.com>
date Tue, 22 Jun 2021 11:41:16 +0200
parents 2c4b65bfac62
children 09f0911c735d
line wrap: on
line diff
--- a/mod_ogp/README.markdown	Sun Jun 20 13:54:23 2021 +0200
+++ b/mod_ogp/README.markdown	Tue Jun 22 11:41:16 2021 +0200
@@ -6,7 +6,7 @@
 If it finds any, it sends a [XEP-0422 fastening](https://xmpp.org/extensions/xep-0422.html) applied to the original message that looks like:
 
 ```xml
-<message id="example" from="chatroom@muc.example.org" to="chatroom@muc.example.org">
+<message id="example" from="chatroom@muc.example.org" to="user@chat.example.org/resource">
 <apply-to xmlns="urn:xmpp:fasten:0" id="origin-id-X">
 <meta xmlns="http://www.w3.org/1999/xhtml" property="og:title" content="The Rock"/>
 <meta xmlns="http://www.w3.org/1999/xhtml" property="og:url" content="https://www.imdb.com/title/tt0117500/"/>