diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-07-17 20:31:34 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-07-17 20:31:34 (GMT) |
commit | d2d147edbf36cafa90e53d419707ace7544131bc (patch) | |
tree | 4f646a2cceede599dd8fab502463b65c53ded642 /Swift/Controllers/Roster | |
parent | 1793fa416371365f7435f1946cc556cc14613821 (diff) | |
download | swift-contrib-d2d147edbf36cafa90e53d419707ace7544131bc.zip swift-contrib-d2d147edbf36cafa90e53d419707ace7544131bc.tar.bz2 |
Check for avatar emptiness in TableRoster update check.
Diffstat (limited to 'Swift/Controllers/Roster')
-rw-r--r-- | Swift/Controllers/Roster/TableRoster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Roster/TableRoster.cpp b/Swift/Controllers/Roster/TableRoster.cpp index 171e8ed..c00bf4f 100644 --- a/Swift/Controllers/Roster/TableRoster.cpp +++ b/Swift/Controllers/Roster/TableRoster.cpp @@ -40,7 +40,7 @@ namespace Swift { struct ItemNeedsUpdate { bool operator()(const TableRoster::Item& i1, const TableRoster::Item& i2) const { - return i1.status != i2.status || i1.description != i2.description || i1.name != i2.name; + return i1.status != i2.status || i1.description != i2.description || i1.name != i2.name || i1.avatarPath.empty() != i2.avatarPath.empty(); } }; |