Mercurial > prosody-modules
comparison mod_http_muc_log/mod_http_muc_log.lua @ 6360:3e8bd71d39bb
mod_http_muc_log: Ignore fallback body next to XEP-0444: Message Reactions
Some clients send a quote reply along with XEP-0444 in order to
accommodate legacy clients. This however takes up some space and the
reaction is shown twice. This is a matter of some debate with diverging
opinions about whether this should be done at all and how to handle
this.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 15 Jan 2026 16:03:01 +0100 |
| parents | ef969153ef65 |
| children |
comparison
equal
deleted
inserted
replaced
| 6359:e920ce2f6472 | 6360:3e8bd71d39bb |
|---|---|
| 419 end | 419 end |
| 420 react_map[occupant_id] = reacts; | 420 react_map[occupant_id] = reacts; |
| 421 break | 421 break |
| 422 end | 422 end |
| 423 end | 423 end |
| 424 body = nil; | |
| 425 oob = nil; | |
| 424 end | 426 end |
| 425 | 427 |
| 426 -- XEP-0461: Message Replies | 428 -- XEP-0461: Message Replies |
| 427 local reply = item:find("{urn:xmpp:reply:0}reply@id"); | 429 local reply = item:find("{urn:xmpp:reply:0}reply@id"); |
| 428 | 430 |
