From 1e63ca24edf35e5681653189fd6ca107627946f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Fri, 11 Mar 2011 23:29:12 +0100
Subject: Fixed bug where own avatar was incorrectly displayed when switching
 profiles.


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_;
-- 
cgit v0.10.2-6-g49f6