You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Community.View.ShowAsOneChat" = "Show as One Chat";
@@ -16440,6 +16443,8 @@ Error: %8$@";
16440
16443
"Community.View.ChatsLimitReached" = "Sorry, this community has reached the maximum number of chats.";
16441
16444
"Community.Request.UnknownRequester" = "Someone";
16442
16445
"Community.Request.RequesterSuggestsGroup" = "%@ suggests this group:";
16446
+
"Community.Request.RequesterSuggestsChannel" = "%@ suggests this channel:";
16447
+
"Community.Request.RequesterSuggestsBot" = "%@ suggests this bot:";
16443
16448
"Community.Request.PrivateStatus" = "visible only to its members";
16444
16449
"Community.Request.Decline" = "Decline";
16445
16450
"Community.Request.Add" = "Add";
@@ -16514,13 +16519,23 @@ Error: %8$@";
16514
16519
"Community.Add.VisibilityHiddenInfo" = "Only invited members and community admins will see this chat.";
16515
16520
"Community.Add.ActionAddToCommunity" = "Add to Community";
16516
16521
16522
+
"Community.Add.Confirm.TextGroup" = "If this group is approved by a community admin, its members will be able to join or request to join other chats in the community.";
16523
+
"Community.Add.Confirm.TextChannel" = "If this channel is approved by a community admin, its subscribers will be able to join or request to join other chats in the community.";
16524
+
"Community.Add.Confirm.TextBot" = "If this bot is approved by a community admin, community members will be able to see and use it.";
16525
+
"Community.Add.Confirm.Add" = "Add";
16526
+
16527
+
"Community.AddChat.Title" = "Add a Chat";
16528
+
"Community.AddChat.Description" = "Select a chat to add to this community";
16529
+
16517
16530
"Community.Chat.JoinToView" = "You need to join this group to view its messages.";
16518
16531
"Community.PrivateChat.Info" = "This group is invite-only.\nOnly its members can view it.";
16519
16532
"Community.PrivateChat.MessageOwner" = "Message Group Owner";
16533
+
"Community.CommunityAdded.View" = "View";
16520
16534
16521
16535
"Privacy.GroupsAndChannels.InviteToCommunityError" = "Sorry, you cannot add %@ to the community because of %@'s privacy settings.";
16522
16536
16523
16537
"Notification.CommunityAddedGroup" = "%1$@ added this group to %2$@ community";
16538
+
"Notification.CommunityAddedGroupUnknown" = "This group was added to %1$@ community";
16524
16539
"Notification.CommunityAddedGroupYou" = "You added this group to %1$@ community";
16525
16540
"Notification.CommunityRemovedGroup" = "%1$@ removed this group from a community";
16526
16541
"Notification.CommunityRemovedGroupYou" = "You removed this group from a community";
Copy file name to clipboardExpand all lines: submodules/TelegramUI/Components/Chat/ChatMessageCommunityChangedBubbleContentNode/Sources/ChatMessageCommunityChangedBubbleContentNode.swift
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,11 @@ public class ChatMessageCommunityChangedBubbleContentNode: ChatMessageBubbleCont
141
141
if item.message.author?.id == item.context.account.peerId {
142
142
text = item.presentationData.strings.Notification_CommunityAddedGroupYou("**\(community?.title ??"")**").string
143
143
}else{
144
-
text = item.presentationData.strings.Notification_CommunityAddedGroup("**\(authorName)**","**\(community?.title ??"")**").string
144
+
if item.message.author?.id.namespace !=Namespaces.Peer.CloudUser {
145
+
text = item.presentationData.strings.Notification_CommunityAddedGroupUnknown("**\(community?.title ??"")**").string
146
+
}else{
147
+
text = item.presentationData.strings.Notification_CommunityAddedGroup("**\(authorName)**","**\(community?.title ??"")**").string
148
+
}
145
149
}
146
150
}else{
147
151
text = item.presentationData.strings.Notification_CommunityAddedChannel("**\(community?.title ??"")**").string
@@ -158,7 +162,7 @@ public class ChatMessageCommunityChangedBubbleContentNode: ChatMessageBubbleCont
0 commit comments