Skip to content
Browse files

Jabber - don't re-add users from server roster

  • Loading branch information...
1 parent 9e4e847 commit 5dea301ed5bdadfdcde41a0e967367ebab81d800 @RogerD RogerD committed Dec 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hooks/jabberhook.cc
View
2 src/hooks/jabberhook.cc
@@ -1293,6 +1293,7 @@ void jabberhook::gotroster(xmlnode x, bool login) {
if(alias) {
updatinguser = jidnormalize(alias);
+ roster[jidnormalize(alias)] = grp;
ic = imcontact(jidtodisp(alias), proto);
clist.updateEntry(ic, grp);
updatinguser = "";
@@ -1308,7 +1309,6 @@ void jabberhook::gotroster(xmlnode x, bool login) {
}
}
- roster[jidnormalize(alias)] = grp;
}
}

0 comments on commit 5dea301

Please sign in to comment.
Something went wrong with that request. Please try again.