-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disappearing messages #375
Conversation
library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt
Outdated
Show resolved
Hide resolved
library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt
Outdated
Show resolved
Hide resolved
library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt
Outdated
Show resolved
Hide resolved
…isappearing-messages
assertEquals( | ||
boDm.messages().size, | ||
2 | ||
) // disappearing settings 1, disappearing settings 2, boMessage, alixMessage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All these counts will need to be updated once we start showing group update messages in the dms. @mchenani
library/src/main/java/org/xmtp/android/library/libxmtp/DisappearingMessageSettings.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On small var name suggestion, otherwise LGTM! nice tests 👌
* add a delicate api warning level * slightly update the logic * Update library/src/main/java/org/xmtp/android/library/Client.kt Co-authored-by: Nicholas Molnar <[email protected]> * add a test for this case * fix lint --------- Co-authored-by: Nicholas Molnar <[email protected]>
Adds the ability to update, set, and get expiration settings for messages on a DM or Group.