|
|
@ -189,8 +189,7 @@ namespace FLocal.Common.dataobjects { |
|
|
|
|
|
|
|
|
|
|
|
XElement result = new XElement("thread", |
|
|
|
XElement result = new XElement("thread", |
|
|
|
new XElement("id", this.id), |
|
|
|
new XElement("id", this.id), |
|
|
|
new XElement("firstPostId", this.firstPostId), |
|
|
|
new XElement("firstPost", this.firstPost.exportToXml(context)), |
|
|
|
new XElement("topicstarter", this.topicstarter.exportToXmlForViewing(context)), |
|
|
|
|
|
|
|
new XElement("title", this.title), |
|
|
|
new XElement("title", this.title), |
|
|
|
new XElement("lastPostId", this.lastPostId), |
|
|
|
new XElement("lastPostId", this.lastPostId), |
|
|
|
new XElement("lastPostDate", this.lastPostDate.ToXml()), |
|
|
|
new XElement("lastPostDate", this.lastPostDate.ToXml()), |
|
|
@ -198,9 +197,6 @@ namespace FLocal.Common.dataobjects { |
|
|
|
new XElement("isLocked", this.isLocked), |
|
|
|
new XElement("isLocked", this.isLocked), |
|
|
|
new XElement("totalPosts", this.totalPosts), |
|
|
|
new XElement("totalPosts", this.totalPosts), |
|
|
|
new XElement("totalViews", this.totalViews), |
|
|
|
new XElement("totalViews", this.totalViews), |
|
|
|
new XElement("bodyShort", this.firstPost.bodyShort), |
|
|
|
|
|
|
|
new XElement("layerId", this.firstPost.layerId), |
|
|
|
|
|
|
|
new XElement("layerName", this.firstPost.layer.name), |
|
|
|
|
|
|
|
context.formatTotalPosts(this.totalPosts) |
|
|
|
context.formatTotalPosts(this.totalPosts) |
|
|
|
); |
|
|
|
); |
|
|
|
if(context.account != null) { |
|
|
|
if(context.account != null) { |
|
|
|