Mercurial > prosody-hg
comparison plugins/mod_muc_mam.lua @ 11818:c443abff04d8
mod_muc_mam: Fix reference to "user" in debug message copied from mod_mam
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 23 Sep 2021 17:50:33 +0200 |
| parents | a67b4d4f8eef |
| children | 52a1b885044e |
comparison
equal
deleted
inserted
replaced
| 11817:a67b4d4f8eef | 11818:c443abff04d8 |
|---|---|
| 401 if cleaned then | 401 if cleaned then |
| 402 id, err = archive:append(room_node, nil, stored_stanza, time, with); | 402 id, err = archive:append(room_node, nil, stored_stanza, time, with); |
| 403 end | 403 end |
| 404 end | 404 end |
| 405 if not id and (archive.caps and archive.caps.truncate) then | 405 if not id and (archive.caps and archive.caps.truncate) then |
| 406 module:log("debug", "User '%s' over quota, truncating archive", room_node); | 406 module:log("debug", "Room '%s' over quota, truncating archive", room_node); |
| 407 local truncated = archive:delete(room_node, { | 407 local truncated = archive:delete(room_node, { |
| 408 truncate = archive_truncate; | 408 truncate = archive_truncate; |
| 409 }); | 409 }); |
| 410 if truncated then | 410 if truncated then |
| 411 id, err = archive:append(room_node, nil, stored_stanza, time, with); | 411 id, err = archive:append(room_node, nil, stored_stanza, time, with); |
