mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-18 19:39:30 -04:00
FeedReader plugin:
- Added check of feed parent id in loadList - Trimmed downloaded xml string to process xml strings with leading spaces git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7f9fde8c1d
commit
31962ea0c5
2 changed files with 25 additions and 9 deletions
|
@ -70,6 +70,9 @@ void p3FeedReaderThread::run()
|
|||
|
||||
RsFeedReaderErrorState result = download(feed, content, icon, errorString);
|
||||
if (result == RS_FEED_ERRORSTATE_OK) {
|
||||
/* trim */
|
||||
XMLWrapper::trimString(content);
|
||||
|
||||
mFeedReader->onDownloadSuccess(feed.feedId, content, icon);
|
||||
} else {
|
||||
mFeedReader->onDownloadError(feed.feedId, result, errorString);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue