Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/xmtp/xmtp-ios into np/conse…
Browse files Browse the repository at this point in the history
…nt-v3
  • Loading branch information
nplasterer committed Sep 20, 2024
2 parents a1d9bb6 + cbfc025 commit d1a5514
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions Sources/XMTPiOS/Contacts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public class ConsentList {
guard let identifier = identifier else {
throw ContactError.invalidIdentifier
}

let newDate = Date()

let pagination = Pagination(
Expand Down
2 changes: 1 addition & 1 deletion Tests/XMTPTests/V3ClientTests.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// File.swift
// V3ClientTests.swift
//
//
// Created by Naomi Plasterer on 9/19/24.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,16 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/xmtp/libxmtp-swift.git",
"state" : {
<<<<<<< HEAD
"revision" : "9398f5516b18044bb94e5d21dabd7a5ddfc25062",
"version" : "0.5.8-beta6"
||||||| e16cd8d
"revision" : "abd4f896f539e5bb090c85022177d775ad08dcb1",
"version" : "0.5.8-beta4"
=======
"revision" : "9d5153926ac1bfcab76802d5a7626c2cf47212a4",
"version" : "0.5.8-beta5"
>>>>>>> cbfc025e7787d7eb22cdb0024004d8386468fb63
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct ConversationListView: View {
}
.task {
do {
for try await conversation in await client.conversations.stream() {
for try await conversation in try await client.conversations.stream() {
conversations.insert(.conversation(conversation), at: 0)

await add(conversations: [.conversation(conversation)])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ enum ConversationOrGroup: Hashable {
case .conversation(let conversation):
return conversation.topic
case .group(let group):
return group.id.toHexString()
return group.id.toHexEncodedString()
}
}

Expand Down

0 comments on commit d1a5514

Please sign in to comment.