mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
- Added chat lobby privacy type to lobby invite => lobby type is propagated correctly to friends
that are invited. - added auto-clean of nicknames - added auto-clean of public lobby records. Warning: this commit breaks one small bit of compatibility: * direct invitations from new versions will pass accross versions (private lobbies will need the new version) * but people can still join public lobbies accross versions. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4801 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
79998dd70c
commit
036bd64811
5 changed files with 83 additions and 21 deletions
|
@ -128,8 +128,8 @@ void ChatLobbyDialog::updateFriendsList()
|
|||
for (; it!=linfos.end() && (*it).lobby_id != lobby_id; ++it);
|
||||
|
||||
if (it != linfos.end()) {
|
||||
for (std::set<std::string>::const_iterator it2((*it).nick_names.begin()); it2 != (*it).nick_names.end(); ++it2) {
|
||||
friendsListWidget->addItem(QString::fromUtf8((*it2).c_str()));
|
||||
for (std::map<std::string,time_t>::const_iterator it2((*it).nick_names.begin()); it2 != (*it).nick_names.end(); ++it2) {
|
||||
friendsListWidget->addItem(QString::fromUtf8((it2->first).c_str()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue