v3.1.0 (Aug 3, 2022) with Chat SDK v4.0.8
- Support moderation in OpenChannel
SBUModuleSet
- Deprecated
moderationsModule
property, usegroupModerationsModule
oropenModerationsModule
instead - Deprecated
registerOperatorModule
property, usegroupRegisterOperatorModule
oropenRegisterOperatorModule
instead - Deprecated
userListModule
property, usegroupUserListModule
oropenUserListModule
instead - Deprecated
init(channelListModule:baseChannelModule:groupChannelModule:openChannelModule:inviteUserModule:registerOperatorModule:userListModule:groupChannelPushSettingsModule:createChannelModule:groupChannelSettingsModule:openChannelSettingsModule:moderationsModule:messageSearchModule:)
function, useinit(channelListModule:baseChannelModule:groupChannelModule:openChannelModule:inviteUserModule:groupRegisterOperatorModule:openRegisterOperatorModule:groupUserListModule:openUserListModule:groupChannelPushSettingsModule:createChannelModule:groupChannelSettingsModule:openChannelSettingsModule:groupModerationsModule:openModerationsModule:messageSearchModule:)
instead
- Deprecated
SBUViewControllerSet
- Renmaed
groupChannelPushSettingsViewController
toGroupChannelPushSettingsViewController
- Deprecated
RegisterOperatorViewController
, useGroupChannelRegisterOperatorViewController
orOpenChannelRegisterOperatorViewController
instead - Deprecated
UserListViewController
, useGroupUserListViewController
orOpenUserListViewController
instead - Deprecated
ModerationsViewController
, useGroupModerationsViewController
orOpenModerationsViewController
instead
- Renmaed
SBUEnums
- Added
allTypes(channel:)
function inModerationItemType
enum - Added
noMutedParticipants
case inEmptyViewType
- Added
SBUModerationsViewController
- Deprecated
init(channelURL:)
, useinit(channelURL:channelType:)
instead - Deprecated
createViewModel(channel:channelURL:)
, usecreateViewModel(channel:)
orcreateViewModel(channelURL:channelType:)
instead
- Deprecated
- Added functions in
SBUOpenChannelSettingsViewController
classshowModerationList()
showDeleteChannelAlert()
- Deprecated function in
SBUModerationsViewModel
classinit(channe:channelURL:delegate:)
-> Useinit(channel:delegate:)
orinit(channelURL:channelType:delegate:)
instead
- Added
channelType
parameter in configuration function ofSBUUserListModule.Header
- Added
channelType
parameter in initialization function ofSBURegisterOperatorViewController
- Added
participantListQuery
parameter in initialization function ofSBUBaseSelectUserViewModel
- Added
mutedParticipantListQuery
parameter in initialization function ofSBUUserListViewModel
- Added
sbu_updateOperatorStatus(channel:)
- Improved list item customization of Group/OpenChannelSettings
- Added
SBUChannelSettingItem
- Added
SBUBaseChannelSettingCell
,SBUGroupChannelSettingCell
andSBUOpenChannelSettingCell
- Added did select related delegates in
SBUGroupChannelSettingsModule.List
andSBUOpenChannelSettingsModule.List
- Modified
configureCell
ofSBUGroupChannelSettingsModule.List
andSBUOpenChannelSettingsModule.List
to useSBUChannelSettingItem
- Added
- Added moderations menu in OpenChannelSettings
- Added
itemDeleteTextColor
property inSBUChannelSettingsTheme
- Added strings
ChannelSettings_Delete_Question_Mark
ChannelSettings_Delete_Description
- Added
- Added ChannelSetting item's notification strings
ChannelSettings_Notifications_On
ChannelSettings_Notifications_Off
ChannelSettings_Notifications_Mentiones_Only
- Modified
loadAllEmojis(completionHandler:)
function access level topublic
inSBUEmojiManager
class - Improved stability