mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 23:02:29 -04:00
Don't add a ChatMsgItem as feed on own public chat message.
Moved the handling of the avatar from PeerItem::updateItem and ChatMsgItem::updateItem called with QTimer to connect to the signal peerHasNewAvatar. Fixed compiler warning. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b01c6bf3d1
commit
af4667232b
6 changed files with 44 additions and 37 deletions
|
@ -40,8 +40,6 @@ public:
|
|||
/** Default Destructor */
|
||||
|
||||
void updateItemStatic();
|
||||
void loadAvatar();
|
||||
|
||||
|
||||
private slots:
|
||||
/* default stuff */
|
||||
|
@ -52,6 +50,7 @@ private slots:
|
|||
void openChat();
|
||||
|
||||
void updateItem();
|
||||
void updateAvatar(const QString &peer_id);
|
||||
|
||||
private:
|
||||
void insertChat(std::string &message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue