mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05: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,19 +376,18 @@ void NotifyQt::UpdateGUI()
|
||||
/* id the name */
|
||||
std::string name;
|
||||
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 */
|
||||
} else {
|
||||
name = rsPeers->getPeerName(id);
|
||||
realmsg = "<strong>" + name + "</strong>";
|
||||
|
||||
rsMsgs->getAvatarData(id,data,size);
|
||||
}
|
||||
|
||||
|
||||
unsigned char *data = NULL;
|
||||
int size = 0 ;
|
||||
|
||||
rsMsgs->getAvatarData(id,data,size);
|
||||
|
||||
switch(type)
|
||||
{
|
||||
case RS_POPUP_MSG:
|
||||
|
Loading…
Reference in New Issue
Block a user