diff --git a/README.md b/README.md index 72e5be7..07fedfa 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ You will need the publish and subscribe keys to authenticate your app. Get your 1. Create or open your project inside Xcode. 2. Navigate to **File -> Add Package Dependencies**. 3. Search for `https://github.com/pubnub/swift-chat-sdk` -4. From the **Dependency Rule** drop-down list, select **Exact**. In the version input field, type `0.9.2-dev` +4. From the **Dependency Rule** drop-down list, select **Exact**. In the version input field, type `0.9.3-dev` 5. Click the **Add Package** button. For more information see Apple's guide on [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app) diff --git a/Sources/Entities/ChannelImpl.swift b/Sources/Entities/ChannelImpl.swift index 01424be..c9322a2 100644 --- a/Sources/Entities/ChannelImpl.swift +++ b/Sources/Entities/ChannelImpl.swift @@ -208,7 +208,7 @@ extension ChannelImpl: Channel { usePost: Bool = false, ttl: Int? = nil, quotedMessage: MessageImpl? = nil, - files: [InputFile]?, + files: [InputFile]? = nil, usersToMention: [String]? = nil, completion: ((Swift.Result) -> Void)? = nil ) { diff --git a/Tests/ChannelIntegrationTests.swift b/Tests/ChannelIntegrationTests.swift index 73c242c..721eb95 100644 --- a/Tests/ChannelIntegrationTests.swift +++ b/Tests/ChannelIntegrationTests.swift @@ -237,11 +237,12 @@ class ChannelIntegrationTests: PubNubSwiftChatSDKIntegrationTests { text: "Some text to send", meta: ["a": 123, "b": "someString"], shouldStore: true, + usersToMention: nil, completion: $0 ) } - let retrievedMessage = try awaitResultValue { + let retrievedMessage = try awaitResultValue(delay: 2) { channel.getMessage( timetoken: tt, completion: $0