From e883b8dcbad66fe00c7b9993436bbd32b41e11f1 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Tue, 28 Jan 2020 23:14:34 -0800 Subject: [PATCH] update longpost url, issue #53 --- src/Pnut.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Pnut.cpp b/src/Pnut.cpp index 6f11790..5985a2d 100644 --- a/src/Pnut.cpp +++ b/src/Pnut.cpp @@ -370,10 +370,8 @@ void Pnut::sendPost(QString text, int pid=0) rawobj["type"] = "nl.chimpnut.blog.post"; rawobj["value"] = longpost; raw.append(rawobj); - text.truncate(80); - text = text + "... - http://chimpnut.nl/u/"; - text = text + m_appSettings->value("username").toString(); - text = text + "/lp/{object_id} - #longpost"; + text.truncate(100); + text = text + "... - https://longpo.st/p/{object_id} - #longpost"; } map["text"] = text; if (pid > 0)