Okay, I was pretty sure that we don't convert IDs to numbers in Tusky and Pleroma devs even tested it. Turns out it breaks with notifications and with caching (which is in the Nightly now).
The thing is, for caching we try to come up with ID for placeholder and we request statuses ordered by these IDs (as strings). The way I did it was parsing it as integer, incrementing and converting back to string. This way it's always bigger/smaller.
#tusky #tuskydev #pleroma
Conversation
Notices
-
Charlag (charlag@birb.site)'s status on Monday, 28-Jan-2019 17:36:09 EST Charlag