Skip to content
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

[V3] Remove the ability to create a V2 client #315

Merged
merged 5 commits into from
Nov 7, 2024

Conversation

nplasterer
Copy link
Contributor

Major clean up removing all the V2 files from the code

@nplasterer nplasterer self-assigned this Nov 3, 2024
@nplasterer nplasterer changed the base branch from main to np/remove-contacts November 3, 2024 19:45
)
}

suspend fun canMessage(peerAddress: String, options: ClientOptions? = null): Boolean {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would be helpful for people to still be able to use this to see if someone is on V2 if canMessageV3 returns false? They can't do much with that information tho since they can't actually message or create in V2.

@nplasterer nplasterer marked this pull request as ready for review November 6, 2024 04:45
@nplasterer nplasterer requested a review from a team as a code owner November 6, 2024 04:45
@@ -134,7 +133,7 @@ sealed class Conversation {
limit: Int? = null,
before: Date? = null,
after: Date? = null,
direction: PagingInfoSortDirection = MessageApiOuterClass.SortDirection.SORT_DIRECTION_DESCENDING,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, that's verbose

// val digest = MessageDigest.getInstance("SHA-256")
// return digest.digest(input)
// }
//}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to just delete this?

* get all the tests compiling

* fix up the wallet address

* more clean up

* get all the tests passing

* make the ffiClient private so people dont call it directly

* [V3] Update example app (#317)

* update the example to be v3 only

* remove force

* remove some impots
@nplasterer nplasterer merged commit 8d6161c into np/remove-contacts Nov 7, 2024
1 of 3 checks passed
@nplasterer nplasterer deleted the np/remove-v2-client branch November 7, 2024 01:20
nplasterer added a commit that referenced this pull request Nov 7, 2024
* remove contacts and rename to preferences

* [V3] Remove the ability to create a V2 client (#315)

* remove the ability to create a v2 client entirely

* remove a bunch of classes no longer needed

* [V3] Fix up all the tests (#316)

* get all the tests compiling

* fix up the wallet address

* more clean up

* get all the tests passing

* make the ffiClient private so people dont call it directly

* [V3] Update example app (#317)

* update the example to be v3 only

* remove force

* remove some impots

* update frames

* clean up the code

* rename and fix up the lint
nplasterer added a commit that referenced this pull request Nov 7, 2024
* remove decrypted messages and only use decoded

* [V3] Remove contacts and rename to preferences (#314)

* remove contacts and rename to preferences

* [V3] Remove the ability to create a V2 client (#315)

* remove the ability to create a v2 client entirely

* remove a bunch of classes no longer needed

* [V3] Fix up all the tests (#316)

* get all the tests compiling

* fix up the wallet address

* more clean up

* get all the tests passing

* make the ffiClient private so people dont call it directly

* [V3] Update example app (#317)

* update the example to be v3 only

* remove force

* remove some impots

* update frames

* clean up the code

* rename and fix up the lint
nplasterer added a commit that referenced this pull request Nov 7, 2024
* remove v1 and v2 conversations

* update all the tests to compile

* [V3] Remove Decrypted Messages (#313)

* remove decrypted messages and only use decoded

* [V3] Remove contacts and rename to preferences (#314)

* remove contacts and rename to preferences

* [V3] Remove the ability to create a V2 client (#315)

* remove the ability to create a v2 client entirely

* remove a bunch of classes no longer needed

* [V3] Fix up all the tests (#316)

* get all the tests compiling

* fix up the wallet address

* more clean up

* get all the tests passing

* make the ffiClient private so people dont call it directly

* [V3] Update example app (#317)

* update the example to be v3 only

* remove force

* remove some impots

* update frames

* clean up the code

* rename and fix up the lint

* fix up the lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants