feat(Communities): Add ephemerial notification when request to join was accepted
Part of: #7072
This commit is contained in:
parent
eb4a7d71c5
commit
6de3466cb2
|
@ -730,6 +730,7 @@ method communityJoined*[T](
|
||||||
community.joined):
|
community.joined):
|
||||||
singletonInstance.globalEvents.myRequestToJoinCommunityAcccepted("Community Request Accepted",
|
singletonInstance.globalEvents.myRequestToJoinCommunityAcccepted("Community Request Accepted",
|
||||||
fmt "Your request to join community {community.name} is accepted", community.id)
|
fmt "Your request to join community {community.name} is accepted", community.id)
|
||||||
|
self.displayEphemeralNotification(fmt "{community.name} membership approved ", "", conf.COMMUNITIESPORTAL_SECTION_ICON, false, EphemeralNotificationType.Success.int, "")
|
||||||
|
|
||||||
if setActive:
|
if setActive:
|
||||||
self.setActiveSection(communitySectionItem)
|
self.setActiveSection(communitySectionItem)
|
||||||
|
|
Loading…
Reference in New Issue