@@ -219,7 +219,7 @@ import SwiftUI
219219 }
220220
221221 private var cancellables = Set < AnyCancellable > ( )
222- private lazy var commandsHandler = utils
222+ public lazy var commandsHandler = utils
223223 . commandsConfig
224224 . makeCommandsHandler (
225225 with: channelController
@@ -692,7 +692,7 @@ import SwiftUI
692692 }
693693 }
694694
695- private func checkForMentionedUsers(
695+ public func checkForMentionedUsers(
696696 commandId: String ? ,
697697 extraData: [ String : Any ]
698698 ) {
@@ -703,7 +703,7 @@ import SwiftUI
703703 mentionedUsers. insert ( user)
704704 }
705705
706- private func clearRemovedMentions( ) {
706+ public func clearRemovedMentions( ) {
707707 for user in mentionedUsers {
708708 if !text. contains ( " @ \( user. mentionText) " ) {
709709 mentionedUsers. remove ( user)
@@ -744,7 +744,7 @@ import SwiftUI
744744 clearInputData ( )
745745 }
746746
747- private func clearInputData( ) {
747+ public func clearInputData( ) {
748748 addedAssets = [ ]
749749 addedFileURLs = [ ]
750750 addedVoiceRecordings = [ ]
@@ -808,7 +808,7 @@ import SwiftUI
808808 . store ( in: & cancellables)
809809 }
810810
811- private func checkChannelCooldown( ) {
811+ public func checkChannelCooldown( ) {
812812 let duration = channelController. channel? . cooldownDuration ?? 0
813813 if duration > 0 && timer == nil && !isSlowModeDisabled {
814814 cooldownDuration = duration
0 commit comments