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

Activate "Blocked Contacts" privacy list to current c2s connection when changed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ejabberd 2.1.10
    • Component/s: Privacy
    • Labels:
      None

      Description

      While privacy list was not set ever,
      if privacy list is set by using mod_blocking (XEP-0191),
      the privacy list "Blocked Contacts" is not applied immediately.
      It is applied after the c2s connection is re-established.

      Additional explanation:

      If privacy list is not set, privacy_user_list of c2s is #user_list{}.
      If privacy list is firstly set by mod_blocking, it is checked by
      mod_privacy:updated_list.
      In this case, OldName is none and NewName is "Blocked Contacts", and
      "Blocked Contacts" is not applied.

        Expenses

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development