handle bookmark status update. resolves issue #10
This commit is contained in:
parent
c723b5b84a
commit
8144904d1e
1 changed files with 6 additions and 0 deletions
|
@ -295,6 +295,12 @@ void Pnut::onAuthorizedRequestReady(QByteArray data, int id)
|
|||
QString gpid = endpoint.replace(":deletepost:","");
|
||||
getPost(gpid);
|
||||
}
|
||||
else if (endpoint.startsWith(":bookmark"))
|
||||
{
|
||||
qDebug() << "Bookmark successful!";
|
||||
req_map.remove(id);
|
||||
emit postReceived(variant.toMap()["data"].toMap());
|
||||
}
|
||||
else
|
||||
{
|
||||
qDebug() << "GOT SOMETHING NEW!";
|
||||
|
|
Reference in a new issue