Skip to content

Commit

Permalink
Temp extension to showcase changes in the chat sdk.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Nov 20, 2024
1 parent 82cb9ff commit 60085af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/AblyChat/DefaultMessages.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ private struct MessageSubscriptionWrapper {
var timeserial: TimeserialString
}

// Temp extension to showcase changes in the chat sdk
extension ARTMessage {
var action: String? { fatalError() }
var serial: String? { fatalError() }
}

// TODO: Don't have a strong understanding of why @MainActor is needed here. Revisit as part of https://github.com/ably-labs/ably-chat-swift/issues/83
@MainActor
internal final class DefaultMessages: Messages, EmitsDiscontinuities {
Expand Down

0 comments on commit 60085af

Please sign in to comment.