Don't show "this post is old" for own posts
This commit is contained in:
parent
1e729d97a0
commit
482b7d5e7d
|
@ -666,7 +666,7 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
|
||||||
proceed.run();
|
proceed.run();
|
||||||
}, status.account, accountID).show();
|
}, status.account, accountID).show();
|
||||||
}else if(!GlobalUserPreferences.isOptedOutOfPreReplySheet(GlobalUserPreferences.PreReplySheetType.OLD_POST, null, null) &&
|
}else if(!GlobalUserPreferences.isOptedOutOfPreReplySheet(GlobalUserPreferences.PreReplySheetType.OLD_POST, null, null) &&
|
||||||
status.createdAt.isBefore(Instant.now().minus(90, ChronoUnit.DAYS))){
|
status.createdAt.isBefore(Instant.now().minus(90, ChronoUnit.DAYS)) && !status.account.id.equals(AccountSessionManager.get(accountID).self.id)){
|
||||||
new OldPostPreReplySheet(getActivity(), notAgain->{
|
new OldPostPreReplySheet(getActivity(), notAgain->{
|
||||||
if(notAgain)
|
if(notAgain)
|
||||||
GlobalUserPreferences.optOutOfPreReplySheet(GlobalUserPreferences.PreReplySheetType.OLD_POST, null, null);
|
GlobalUserPreferences.optOutOfPreReplySheet(GlobalUserPreferences.PreReplySheetType.OLD_POST, null, null);
|
||||||
|
|
Loading…
Reference in New Issue