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

[Chat] feature/#244-create thread #266

Merged
merged 24 commits into from
Jun 20, 2022
Merged

[Chat] feature/#244-create thread #266

merged 24 commits into from
Jun 20, 2022

Conversation

llbartekll
Copy link
Contributor

@llbartekll llbartekll commented Jun 10, 2022

  • allows to create a thread for two peers
  • still using old encryption policy

@llbartekll llbartekll marked this pull request as draft June 10, 2022 10:07
@llbartekll llbartekll changed the title #chat/accept invite [Chat] feature/#244-create thread Jun 14, 2022
…V2 into #chat/accept-invite

# Conflicts:
#	Sources/Chat/Chat.swift
#	Sources/Chat/Engine.swift
#	Sources/Chat/NetworkingInteractor.swift
#	Sources/Chat/Types/ChatRequest.swift
#	Sources/Chat/Types/Invite.swift
#	Tests/ChatTests/EndToEndTests.swift
#	Tests/ChatTests/Mocks/NetworkingInteractorMock.swift
#	Tests/ChatTests/RegistryManagerTests.swift
@llbartekll llbartekll marked this pull request as ready for review June 14, 2022 11:07
let registryManager: RegistryManager
let engine: Engine
let registryService: RegistryService
let invitationHandlingService: InvitationHandlingService
Copy link
Contributor

Choose a reason for hiding this comment

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

I like ***Service naming, let's use more often

@@ -5,12 +5,23 @@ import WalletConnectRelay
import WalletConnectUtils

protocol NetworkInteracting {
func subscribe(topic: String) async throws
var requestPublisher: AnyPublisher<RequestSubscriptionPayload, Never> {get}
Copy link
Contributor

Choose a reason for hiding this comment

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

run swiftlint --fix please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

…V2 into #chat/accept-invite

# Conflicts:
#	Sources/Chat/Chat.swift
#	Sources/Chat/Engine.swift
#	Sources/Chat/NetworkingInteractor.swift
#	Sources/Chat/Types/ChatRequest.swift
#	Sources/Chat/Types/Invite.swift
#	Sources/WalletConnectKMS/Codec/ChaChaPolyCodec.swift
#	Tests/ChatTests/EndToEndTests.swift
@llbartekll llbartekll merged commit 9412506 into develop Jun 20, 2022
@llbartekll llbartekll deleted the #chat/accept-invite branch June 20, 2022 14:21
@flypaper0 flypaper0 mentioned this pull request Jul 5, 2022
llbartekll added a commit that referenced this pull request Jul 5, 2022
* Add registry manager

* Update api methods

* update resolve

* Add description to api methods

* update invite method

* remove teardown

* make registryStore private

* update new thread e2e test

* Add invite service

* savepoint

* Update invite service

* Add invitation handling

* test - decrypts an invite

* savepoint

* Accept and create a Thread on Invitee

* savepoint

* add json rpc history

* savepoint

* remove ChatRequest type

* create a Thread on both peers

* clean up

* swiftlint fix
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