summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-07-17 20:31:34 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-07-17 20:31:34 (GMT)
commitd2d147edbf36cafa90e53d419707ace7544131bc (patch)
tree4f646a2cceede599dd8fab502463b65c53ded642
parent1793fa416371365f7435f1946cc556cc14613821 (diff)
downloadswift-contrib-d2d147edbf36cafa90e53d419707ace7544131bc.zip
swift-contrib-d2d147edbf36cafa90e53d419707ace7544131bc.tar.bz2
Check for avatar emptiness in TableRoster update check.
-rw-r--r--Swift/Controllers/Roster/TableRoster.cpp2
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();
}
};