mautrix / imessage

A Matrix-iMessage puppeting bridge
https://go.mau.fi/mautrix-imessage/
GNU Affero General Public License v3.0
332 stars 36 forks source link

[bluebubbles] Implement GetChatsWithMessagesAfter #140

Closed cnuss closed 5 months ago

cnuss commented 5 months ago

https://github.com/mautrix/imessage/commit/c314edf39987a4f30064e16dc30ded206db02ca0#diff-add0e027970853876947ede515fd2419541057010ed0cfb334f30219fcd9979fR63

trek-boldly-go commented 5 months ago

Basic implementation complete, needs tested. Bluebubbles didn't have a date filter on the endpoint I used, so this will iterate over the endpoint and results to keep adding more chats as long as the lsmd property is still after the minDate parameter.

trek-boldly-go commented 5 months ago

closing this as the current implementation is working, even though it could be improved in the future.