update longpost url, issue #53

This commit is contained in:
Morgan McMillian 2020-01-28 23:14:34 -08:00
parent 8896b2c076
commit e883b8dcba

View file

@ -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)