update longpost url, issue #53
This commit is contained in:
parent
8896b2c076
commit
e883b8dcba
1 changed files with 2 additions and 4 deletions
|
@ -370,10 +370,8 @@ void Pnut::sendPost(QString text, int pid=0)
|
||||||
rawobj["type"] = "nl.chimpnut.blog.post";
|
rawobj["type"] = "nl.chimpnut.blog.post";
|
||||||
rawobj["value"] = longpost;
|
rawobj["value"] = longpost;
|
||||||
raw.append(rawobj);
|
raw.append(rawobj);
|
||||||
text.truncate(80);
|
text.truncate(100);
|
||||||
text = text + "... - http://chimpnut.nl/u/";
|
text = text + "... - https://longpo.st/p/{object_id} - #longpost";
|
||||||
text = text + m_appSettings->value("username").toString();
|
|
||||||
text = text + "/lp/{object_id} - #longpost";
|
|
||||||
}
|
}
|
||||||
map["text"] = text;
|
map["text"] = text;
|
||||||
if (pid > 0)
|
if (pid > 0)
|
||||||
|
|
Reference in a new issue