diff --git a/src/Pnut.cpp b/src/Pnut.cpp index 5fa1456..9737c48 100644 --- a/src/Pnut.cpp +++ b/src/Pnut.cpp @@ -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!";