Resets the paging3 changes of 3159 back to the (java) fragment code before.

Should be the basis for further not-so-rattling improvements.
This commit is contained in:
Lakoja 2023-09-09 21:11:23 +02:00
commit add62129f8
21 changed files with 2279 additions and 1565 deletions

View file

@ -110,6 +110,9 @@ data class Notification(
}
}
/** Helper for Java */
fun copyWithStatus(status: Status?): Notification = copy(status = status)
// for Pleroma compatibility that uses Mention type
fun rewriteToStatusTypeIfNeeded(accountId: String): Notification {
if (type == Type.MENTION && status != null) {