another.im-ios/ConversationsClassic/AppCore/Middlewares/MessagesMiddleware.swift

13 lines
297 B
Swift
Raw Normal View History

2024-06-24 10:44:55 +00:00
import Combine
final class MessagesMiddleware {
static let shared = MessagesMiddleware()
func middleware(state _: AppState, action: AppAction) -> AnyPublisher<AppAction, Never> {
switch action {
default:
return Empty().eraseToAnyPublisher()
}
}
}