XSF Discussion - 2023-05-08


  1. 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?

  2. 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)."

  3. 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)

  4. 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

  5. Guus

    Thanks Matt

  6. Guus

    Maybe combine that with when someone became a member in a member-only room?

  7. MattJ

    That would be "when they gained permission", yes

  8. MattJ

    But e.g. being promoted to admin would not reset that timestamp

  9. MattJ

    So it's not just recording the timestamp of their current affiliation

  10. Guus

    ack