Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-305

RosterEntry#getGroups causing a roster reload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: Core
    • Labels:
      None

      Description

      René Treffer wrotes:

      So here is what many users do:
      1. Disable roster loading on login
      2. getRoster
      3. Iterate over all Entries
      4. call getGroups on every Entry, thus reloading their roster multiple times

      This was made possible by the connection.roster -> connection.getRoster change. I actually think the getRoster logic is broken, as it should never reload the roster unless it need initialization (reload is getRoster().reload(), right?).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              niess Guenther Niess
              Reporter:
              niess Guenther Niess
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: