~nicoco/messlidger

f30f3329576bfa0972c58e58bb9e6f666adef901 — nicoco 2 months ago dc3b839 master
fix: timestamp is in ms, not in seconds
1 files changed, 1 insertions(+), 1 deletions(-)

M messlidger/group.py
M messlidger/group.py => messlidger/group.py +1 -1
@@ 115,7 115,7 @@ class MUC(LegacyMUC[int, str, "Participant", int]):
        for m in t.messages.nodes:
            if not m.id:
                continue
            timestamp = datetime.fromtimestamp(m.timestamp)
            timestamp = datetime.fromtimestamp(m.timestamp / 1_000)
            if after is not None and timestamp < after.timestamp:
                continue
            if before is not None and timestamp > before.timestamp: