forked from blue/squawk
very bad and basic archive support
This commit is contained in:
parent
48e735b0e9
commit
fad72d8db2
11 changed files with 180 additions and 20 deletions
|
@ -220,3 +220,13 @@ void Core::Squawk::sendMessage(const QString& account, const Shared::Message& da
|
|||
|
||||
itr->second->sendMessage(data);
|
||||
}
|
||||
|
||||
void Core::Squawk::requestArchive(const QString& account, const QString& jid)
|
||||
{
|
||||
AccountsMap::const_iterator itr = amap.find(account);
|
||||
if (itr == amap.end()) {
|
||||
qDebug("An attempt to request an archive of non existing account, skipping");
|
||||
return;
|
||||
}
|
||||
itr->second->requestAchive(jid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue