summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-11 22:29:12 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-11 22:29:12 (GMT)
commit1e63ca24edf35e5681653189fd6ca107627946f4 (patch)
tree101ef21c5ede8af0e4800e2d2c2230ed5cf6b767
parent59aa5d7e29ca142ae324ad97e6a5f0353d1a6b89 (diff)
downloadswift-1e63ca24edf35e5681653189fd6ca107627946f4.zip
swift-1e63ca24edf35e5681653189fd6ca107627946f4.tar.bz2
Fixed bug where own avatar was incorrectly displayed when switching profiles.
-rw-r--r--Swift/Controllers/MainController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index d499335..d9e177b 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -177,6 +177,7 @@ MainController::~MainController() {
void MainController::resetClient() {
resetCurrentError();
resetPendingReconnects();
+ vCardPhotoHash_.clear();
delete contactEditController_;
contactEditController_ = NULL;
delete profileController_;