mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
finished modification of previous commit about notifying changed about own status msg
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1720 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e6b191bb9b
commit
5af018912b
@ -206,6 +206,7 @@ class NotifyBase
|
|||||||
virtual void notifyTurtleSearchResult(uint32_t search_id,const std::list<TurtleFileInfo>& files) { (void)files; }
|
virtual void notifyTurtleSearchResult(uint32_t search_id,const std::list<TurtleFileInfo>& files) { (void)files; }
|
||||||
virtual void notifyPeerHasNewAvatar(std::string peer_id) { (void)peer_id; }
|
virtual void notifyPeerHasNewAvatar(std::string peer_id) { (void)peer_id; }
|
||||||
virtual void notifyOwnAvatarChanged() {}
|
virtual void notifyOwnAvatarChanged() {}
|
||||||
|
virtual void notifyOwnStatusMessageChanged() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
const int NOTIFY_LIST_NEIGHBOURS = 1;
|
const int NOTIFY_LIST_NEIGHBOURS = 1;
|
||||||
|
@ -392,6 +392,8 @@ void p3ChatService::setOwnCustomStateString(const std::string& s)
|
|||||||
for(std::map<std::string,StateStringInfo>::iterator it(_state_strings.begin());it!=_state_strings.end();++it)
|
for(std::map<std::string,StateStringInfo>::iterator it(_state_strings.begin());it!=_state_strings.end();++it)
|
||||||
it->second._own_is_new = true ;
|
it->second._own_is_new = true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rsicontrol->getNotify().notifyOwnStatusMessageChanged() ;
|
||||||
IndicateConfigChanged();
|
IndicateConfigChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user