|
|
@ -174,7 +174,7 @@ namespace FLocal.ImportConsole { |
|
|
|
Console.Write("-"); |
|
|
|
Console.Write("-"); |
|
|
|
} else if(Config.instance.mainConnection.GetCountByConditions(Post.TableSpec.instance, new ComparisonCondition(Post.TableSpec.instance.getIdSpec(), ComparisonType.EQUAL, postId.ToString())) > 0) { |
|
|
|
} else if(Config.instance.mainConnection.GetCountByConditions(Post.TableSpec.instance, new ComparisonCondition(Post.TableSpec.instance.getIdSpec(), ComparisonType.EQUAL, postId.ToString())) > 0) { |
|
|
|
Post post = Post.LoadById(postId); |
|
|
|
Post post = Post.LoadById(postId); |
|
|
|
if(post.title.StartsWith("%") || post.body.StartsWith("%") || (post.thread.firstPost.id == post.id && post.thread.title.StartsWith("%"))) { |
|
|
|
if(post.title.StartsWith("%") || post.title.StartsWith("Re%3A") || post.body.StartsWith("%") || (post.thread.firstPost.id == post.id && post.thread.title.StartsWith("%"))) { |
|
|
|
string title = data["Subject"]; |
|
|
|
string title = data["Subject"]; |
|
|
|
string body = data["Body"]; |
|
|
|
string body = data["Body"]; |
|
|
|
inserts[postId] = () => { |
|
|
|
inserts[postId] = () => { |
|
|
|