Fixed online toaster. The name of the friend is shown again.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3869 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-11-25 13:33:16 +00:00
parent fc08d1171f
commit 461ae260df

View File

@ -376,18 +376,17 @@ void NotifyQt::UpdateGUI()
/* id the name */ /* id the name */
std::string name; std::string name;
std::string realmsg; std::string realmsg;
if (RS_POPUP_DOWNLOAD == RS_POPUP_DOWNLOAD) { unsigned char *data = NULL;
int size = 0 ;
if (type == RS_POPUP_DOWNLOAD) {
/* id = file hash */ /* id = file hash */
} else { } else {
name = rsPeers->getPeerName(id); name = rsPeers->getPeerName(id);
realmsg = "<strong>" + name + "</strong>"; realmsg = "<strong>" + name + "</strong>";
}
unsigned char *data = NULL;
int size = 0 ;
rsMsgs->getAvatarData(id,data,size); rsMsgs->getAvatarData(id,data,size);
}
switch(type) switch(type)
{ {