Skip to content

Commit

Permalink
Disable delayed contact status updates when account goes offline.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblsha committed Mar 30, 2010
1 parent dd41b67 commit dff27da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/psiaccount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3248,7 +3248,7 @@ void PsiAccount::simulateContactOffline(UserListItem *u)
Jid j = u->jid();
if(u->jid().resource().isEmpty()) {
j = j.withResource(r.name());
}
}
client_resourceUnavailable(j, r);
}
}
Expand All @@ -3261,6 +3261,7 @@ void PsiAccount::simulateRosterOffline()
{
emit beginBulkContactUpdate();

notifyOnlineOk = false;
foreach(UserListItem* u, d->userList)
simulateContactOffline(u);

Expand Down

0 comments on commit dff27da

Please sign in to comment.