Software /
code /
verse
Diff
plugins/archive.lua @ 462:51c3da615ff4
archive: Add 'complete' flag
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 16 Mar 2023 11:47:37 +0000 |
parent | 457:73d4eb93657b |
child | 490:6b2f31da9610 |
line wrap: on
line diff
--- a/plugins/archive.lua Thu Mar 16 11:46:16 2023 +0000 +++ b/plugins/archive.lua Thu Mar 16 11:47:37 2023 +0000 @@ -64,6 +64,7 @@ end local finished = reply:get_child("fin", xmlns_mam) if finished then + results.complete = finished.attr.complete == "true" or finished.attr.complete == "1"; local rset = rsm.get(finished); for k,v in pairs(rset or NULL) do results[k]=v; end end