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:
csoler 2009-10-05 19:55:17 +00:00
parent e6b191bb9b
commit 5af018912b
2 changed files with 3 additions and 0 deletions

View File

@ -206,6 +206,7 @@ class NotifyBase
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 notifyOwnAvatarChanged() {}
virtual void notifyOwnStatusMessageChanged() {}
};
const int NOTIFY_LIST_NEIGHBOURS = 1;

View File

@ -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)
it->second._own_is_new = true ;
}
rsicontrol->getNotify().notifyOwnStatusMessageChanged() ;
IndicateConfigChanged();
}