Don't import old roster if we got a complete roster by the server.
This commit is contained in:
parent
2cae99ef60
commit
d8dbb5a5e2
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@
|
|||
rosterElement = [iq elementForName: @"query"
|
||||
namespace: XMPP_NS_ROSTER];
|
||||
|
||||
if ([connection supportsRosterVersioning]) {
|
||||
if ([connection supportsRosterVersioning] && rosterElement == nil) {
|
||||
OFDictionary *items = [dataStorage
|
||||
dictionaryForPath: @"roster.items"];
|
||||
OFEnumerator *enumerator = [items objectEnumerator];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue