#690 User gets kicked from room if they block an occupant's room JID using mod_blocklist

Reporter Zash
Owner Zash
Stars ★ (1)  
  • Milestone-0.10
  • Status-Fixed
  • Type-Defect
  • Priority-Medium
  1. Zash on

    What steps will reproduce the problem? 1. Block user in MUC 2. Blocked user sends you PM What is the expected output? Nothing happens. What do you see instead? You get kicked. This is essentially the same as #384 but for mod_blocklist. When a message is blocked, an error reply is generated. This error reply triggers Prosodys MUC ghost prevention, kicking the user.

  2. Zash on

    • tags Milestone-0.10 Status-Accepted
    • owner Zash
  3. Zash on

    Perhaps the better solution would be to have the MUC itself handle blocking.

  4. MattJ on

    Maybe we could return a non-MUC-kickable error if full_sessions[stanza.attr.to]? :)

  5. Zash on

    How would you do that without revealing to the blocked entity that they are blocked? That's usually not desirable. Actually, why bounce messages at all?

  6. Zash on

    Did what MattJ suggested in https://hg.prosody.im/0.10/rev/13dad833e821

    • tags Status-Fixed

New comment