mirror of
https://gitlab.com/comunic/comunicterm
synced 2024-11-16 18:41:07 +00:00
23 lines
326 B
C++
23 lines
326 B
C++
#include "conversationslist.h"
|
|
|
|
using namespace std;
|
|
|
|
ConversationsList::ConversationsList()
|
|
{
|
|
|
|
}
|
|
|
|
set<int> ConversationsList::usersList() const
|
|
{
|
|
set<int> list;
|
|
|
|
for(auto conv : *this) {
|
|
list.insert(conv.iD_Owner());
|
|
|
|
for(auto m : conv.members())
|
|
list.insert(m);
|
|
}
|
|
|
|
return list;
|
|
}
|