Mercurial > prosody-modules
comparison mod_rest/README.markdown @ 4936:a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
The previous 'join' mapping was apparently lost in translation when
swithing to datamapper, so might as well map some properties allowing
history control. Usually you probably want either zero history or
history since the last known time of being joined. Maybe that the former
should be the default?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 30 Apr 2022 01:00:01 +0200 |
parents | c83b009b5bc5 |
children | 25f39ceccbca |
comparison
equal
deleted
inserted
replaced
4935:ae83200fb55f | 4936:a85efae90e21 |
---|---|
274 `away`, `dnd` etc. | 274 `away`, `dnd` etc. |
275 | 275 |
276 `status` | 276 `status` |
277 : Human-readable status message. | 277 : Human-readable status message. |
278 | 278 |
279 `join` | |
280 : Boolean. Join a group chat. | |
281 | |
282 #### Info-Queries | 279 #### Info-Queries |
283 | 280 |
284 Only one type of payload can be included in an `iq`. | 281 Only one type of payload can be included in an `iq`. |
285 | 282 |
286 `kind` | 283 `kind` |
433 `oob_url` | 430 `oob_url` |
434 : String with an URL of an external resource. | 431 : String with an URL of an external resource. |
435 | 432 |
436 ### Presence | 433 ### Presence |
437 | 434 |
438 `join` | 435 `muc` |
439 : Boolean, used to join group chats. | 436 : Object with [MUC][XEP-0045] related properties. |
440 | 437 |
441 ### IQ | 438 ### IQ |
442 | 439 |
443 `ping` | 440 `ping` |
444 : Boolean, a simple ping query. "Pongs" have only basic fields | 441 : Boolean, a simple ping query. "Pongs" have only basic fields |