mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
fc08d1171f
commit
461ae260df
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user