this post was submitted on 04 Aug 2024
7 points (100.0% liked)
Thunder App
2853 readers
1 users here now
An open-source, cross-platform Lemmy client for iOS and Android.
This community is intended to discuss features and feature suggestions for Thunder; as well as friendly, respectful talks about Lemmy in general.
Please use the GitHub repository linked below to submit bug reports, so keeping track of them is easier, and make sure to search first if you already can find an issue for your report.
If there are any developers who would like to contribute, feel free to reach out on GitHub!
General Links
Website: Link
GitHub Repository: Link
Matrix Space: Link
Android Releases
IzzyOnDroid: Link
Google Play: Link
iOS Releases
Apple App Store: Link
TestFlight Beta: Link
Related Communities
Nightly Community: Link
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thanks for the explanation! I just tried the API passing my own user ID as the
creator_id
and I seem to be getting back all messages. :( If they can add an endpoint or parameter to get a "conversation" (i.e., all messages incoming/outgoing to/from a specific user) then a chat-style interface would be much easier to implement!Yeah, this is exactly the problem I've been planning to eventually solve. It's not an ideal way to lay out DMs, so an app that puts in some work to make it nicer to interact with DMs has been on my wish-list for Lemmy.
I intended to do so essentially either by maintaining a local database of messages as suggested by @[email protected], or, by loading one page at a time, and transforming that into the several conversations.
Then, the "end" of any list (the bottom of the conversation list, or the top of a chat) would have a "load more" button to load more pages, the contents of which would just end up in their respective conversations.
I hadn't thought of the fact that DMs can be edited, so the latter option is likely better instead of a local database.
It would serve 99% of cases where you're having back and forths with just a couple users, where your most recent DMs would always show up with their most recent messages.