Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import StreamChatClient
extension ConsultViewController {
func setupPatient() {
Client.shared.set(user: patient, token: .development)
self.presenter = .init(channel: channel)
}
func setupDoctor() {
Client.shared.set(user: doctor, token: .development)
self.presenter = .init(channel: channel)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.