Uploaded image for project: 'ejabberd development'
  1. ejabberd development
  2. EJAB-913

Pubsub subscriptions remain after anonymous user removed

    Details

      Description

      Anonymous users are allowed to subscribe to pubsub nodes but their subscriptions remain when the users are gone, cluttering up the database and affecting later users having the same JID. Adding the following line to mod_pubsub:init resolves the issue.

      ejabberd_hooks:add(anonymous_purge_hook, ServerHost, ?MODULE, remove_user, 50),
      

        Activity

        skeltoac Andy Skelton created issue -
        cromain@process-one.net Christophe Romain made changes -
        Field Original Value New Value
        Fix Version/s ejabberd 2.1.0 [ 10140 ]
        Fix Version/s ejabberd 3.0.0-alpha [ 10240 ]
        cromain@process-one.net Christophe Romain made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        cromain@process-one.net Christophe Romain made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        mremond@process-one.net Mickaël Rémond made changes -
        Workflow development v3 [ 68605 ] Development v4 [ 81143 ]

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development