Skip to content

Release 2.7.0

Compare
Choose a tag to compare
@nrlnishan nrlnishan released this 09 Dec 07:39
· 206 commits to main since this release

New features

​​Transfer roles

  • Remove all logic for the creator of the community
  • Last community’s moderators are required to transfer moderation roles to other members
  • Show banned symbol for banned users in Global Search list, Followers/Following list, posts and comments/reply

Mention

  • Create/update text, image, video and file post with mention
  • Search all users for mention
  • Search members in community for mention
  • Disable banned users selection to mention in post
  • Show alert when characters count is greater than 50000 or mentions count is greater than 30

Others

  • Show banned symbol for banned users in Global Search list, Followers/Following list, posts and comments/reply

Fixes

  • Fix edit indicator appearance issue for messages
  • Fix member avatar overridden issue for chat

Breaking changes

  • Moderator case is deprecated in AmityCommunityRole enum. Do use the communityModerator case instead.
let roleController = AmityCommunityRoleController(communityId: "communityId")
roleController.remove(roles: [AmityCommunityRole.communityModerator.rawValue], userIds: ["userId]") { error in
    ...
}
  • Moderator case is deprecated in ​​AmityChannelRole enum. Do use the channelModerator case instead.
let roleController = AmityChannelRoleController(channelId: "channelId")
roleController.add(role: .channelModerator, userIds: ["userId"]) { error in
    ...
}