Bug#1021050: prosody: XEP-0012: Last Activity

2022-10-01 Thread Stefan Kropp
I don't speak lua :) Anyway, I looked into the code. Just some feedback. https://sources.debian.org/src/prosody/0.12.1-2/plugins/mod_lastactivity.lua/#L20 Maybe this will add time and status to a map of users, when they go offline. https://sources.debian.org/src/prosody/0.12.1-2/plugins/mod_lasta

Bug#1021050: prosody: XEP-0012: Last Activity

2022-10-01 Thread Stefan Kropp
Package: prosody Version: 0.12.1-1 Severity: normal Hello, I think there is a bug in the "Last Activity" implementation of prosody. When I request "jabber:iq:last" for an offline user (bare jid), I get a result of seconds="0". When I understood XEP-0012 [1] well, the result of seconds="0" is fo