-
Guus
Is there a MUC message archiving solution where users would have access only to messages in an archive that were exchanged when that user had certain permissions in the MUC, while they'd not be able to get messages that were exchanged while they did not have those permissions?
-
Guus
Basically: does anyone know of an implementation of this bit of XEP-0313: "A MUC archive MAY, if it stores historical data about previous configuration states, limit the results returned to only those that the querying user would have been authorised to see at the time (e.g. it MAY limit the results to not include results while a user was an outcast)."
-
MattJ
Guus: I don't know of any implementations of that part, but I came close to implementing it in Prosody a couple of times (in the context of commercial deployments)
-
MattJ
It's not trivial to do "properly", but an 80% solution is to just note when a user gained permission, and restrict queries to after that timestamp
-
Guus
Thanks Matt
-
Guus
Maybe combine that with when someone became a member in a member-only room?
-
MattJ
That would be "when they gained permission", yes
-
MattJ
But e.g. being promoted to admin would not reset that timestamp
-
MattJ
So it's not just recording the timestamp of their current affiliation
-
Guus
ack