Merge pull request #614 from TeamPiped/channel-length-fix

Fix another potential mismatch where the channel name can update from.
This commit is contained in:
Kavin 2023-06-05 08:02:10 +01:00 committed by GitHub
commit a045a10bc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ public class ChannelHandlers {
if (channel != null) {
ChannelHelpers.updateChannel(s, channel, info.getName(), info.getAvatarUrl(), info.isVerified());
ChannelHelpers.updateChannel(s, channel, StringUtils.abbreviate(info.getName(), 100), info.getAvatarUrl(), info.isVerified());
Set<String> ids = tabInfo.getRelatedItems()
.stream()