mod_muc_markers/README.markdown
changeset 4028 95882b487ed2
parent 3976 45c5603a6c07
child 4341 83f89ffe427b
--- a/mod_muc_markers/README.markdown	Sun May 17 22:38:55 2020 +0200
+++ b/mod_muc_markers/README.markdown	Tue May 19 14:06:42 2020 +0100
@@ -1,6 +1,6 @@
 # Introduction
 
-This module adds an internal Prosody API to retrieve the last received message by MUC occupants.
+This module adds an internal Prosody API to retrieve the last displayed message by MUC occupants.
 
 ## Requirements
 
@@ -26,7 +26,9 @@
 
 ## Settings
 
-There are no configuration options for this module.
+| Name            | Description                                                  | Default    |
+|-----------------|--------------------------------------------------------------|------------|
+| muc_marker_type | The type of marker to track (displayed/received/acknowledged)| "displayed"|
 
 # Developers
 
@@ -36,6 +38,6 @@
 local muc_markers = module:depends("muc_markers");
 
 function something()
-	local last_received_id = muc_markers.get_user_read_marker("user@localhost", "room@conference.localhost");
+	local last_displayed_id = muc_markers.get_user_read_marker("user@localhost", "room@conference.localhost");
 end
 ```