✅ Added
- Added
ClientLogger.iconEnabled
,ClientLogger.dateEnabled
, andClientLogger.levelEnabled
to control what will be shown in logs.
These will only be valid whenClientLogger.logger
block is not customized (overridden) #263 silent
property added to messages, see docs here #264- Added option to show message replies also in channel, just like Slack #271.
- A new view style for a reply in a channel
ComposerViewStyle.ReplyInChannelViewStyle
. You can set this style to nil for yourcomposerViewStyle
to disable this feature #271.
🔄 Changed
ClientLogger.logger
is deprecated, please useClientLogger.log
block to customize your log output #263- Logs will now output log level, access it when overriding
ClientLogger.log
block #263 - By default, logs will not output emoji icons anymore, but all logs will now output date #263
🐞 Fixed
set(user:)
is not required for query (channels, users) unlesspresence: true
orstate: true
is specified #269- Disabled context menu for deleted messages: #241.
- Fix crash in iOS12 caused by abstract URLSession instance #272
- Fix infinite loop when the web socket connection fails (iOS13 only) #273.
- Direct message channels (1-by-1 channels) will correctly get their name and avatar image from other user #275.
let anotherUser = User(id: "second")
anotherUser.name = "John"
anotherUser.avatarURL = URL(string: "http://example.com/john")
let channel = client.channel(members: [client.user, anotherUser])
print(channel.name) // will print "John"
print(channel.imageURL) // will print "http://example.com/john"