Giter VIP home page Giter VIP logo

Comments (3)

mwild1 avatar mwild1 commented on July 23, 2024 1

We have been planning to deprecate this behaviour for some time - we made it optional in the last release, and the next release will now disable it by default: https://hg.prosody.im/trunk/rev/3e6d5738ea09

This change won't be backported to 0.12, though a new major release is not far away.

from monal.

tmolitor-stud-tu avatar tmolitor-stud-tu commented on July 23, 2024

Well, Monal adds the user to the group first (member affiliation) before sending out the direct invite and if that does not work, it does not send a (then useless) direct invite.

This prosody setting is a special case.
IMHO Prosody should accept any affiliation adding the admin to a muc they aren't already in and automatically promote them to owner. And only respond with an error message if the admin is already in the room (e.g. when it's a true affiliation change and not adding a new user).

Direct invites have the benefit that the inviter can be used to determine the trustworthiness of the invite (e.g. check if the inviter is in my roster before automatically entering the muc etc.).
Mediated invites can be spoofed --> a spammer's muc can just use any jid as the inviter.

from monal.

tmolitor-stud-tu avatar tmolitor-stud-tu commented on July 23, 2024

Since is's now fixed on the prosody side, I'll close this issue now.

from monal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.