Skip to content

Commit

Permalink
sync the group before
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Feb 13, 2024
1 parent 2090e35 commit 958979d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/XMTPiOS/Group.swift
Original file line number Diff line number Diff line change
@@ -59,8 +59,9 @@ public struct Group: Identifiable, Equatable, Hashable {
id.hash(into: &hasher)
}

public var isActive: Bool {
ffiGroup.isActive()
public func isActive() async throws -> Bool {
try await ffiGroup.sync()
return ffiGroup.isActive()
}

public var memberAddresses: [String] {

0 comments on commit 958979d

Please sign in to comment.