1
0
mirror of https://github.com/lint/TFDidThatSay synced 2025-06-30 23:16:47 +00:00

Fix Reddit not showing author on undeleted comments

This commit is contained in:
lint
2021-02-08 14:15:04 -05:00
parent 2b79815c7e
commit c6a958540f

View File

@ -185,11 +185,14 @@ int secondVersionPart = 0;
[comment setBodyText:body]; [comment setBodyText:body];
[comment setBodyRichTextAttributed:bodyMutableAttributedText]; [comment setBodyRichTextAttributed:bodyMutableAttributedText];
if (secondVersionPart <= 39) { if ((firstVersionPart == 2020 && secondVersionPart <= 39) || firstVersionPart == 4) {
[comment setBodyAttributedText:bodyMutableAttributedText]; [comment setBodyAttributedText:bodyMutableAttributedText];
} }
[[commentTreeNode commentTreeHeaderNode] updateContentViewsForData:comment]; CommentTreeHeaderNode *headerNode = [commentTreeNode commentTreeHeaderNode];
[headerNode updateContentViewsForData:comment];
[headerNode configureNodes];
[bodyMutableAttributedText release]; [bodyMutableAttributedText release];
} }