From 8ea6fcaf09220e8113325d2ba93401a934ebdb67 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Tue, 27 Feb 2018 21:14:40 -0800 Subject: [PATCH] fetch updated post after bookmark resolves #24 --- src/Pnut.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pnut.cpp b/src/Pnut.cpp index ffe132d..e66d839 100644 --- a/src/Pnut.cpp +++ b/src/Pnut.cpp @@ -299,7 +299,7 @@ void Pnut::onAuthorizedRequestReady(QByteArray data, int id) { qDebug() << "Bookmark successful!"; req_map.remove(id); - emit postReceived(variant.toMap()["data"].toMap()); + getPost(variant.toMap()["data"].toMap()["id"].toString()); } else {