Skip to content

Commit 459ca41

Browse files
committed
Fix join to send
1 parent 809cbe7 commit 459ca41

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Telegram/Views/ChatView.xaml.cs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6558,13 +6558,16 @@ public void UpdateSupergroup(Chat chat, Supergroup group, SupergroupFullInfo ful
65586558
{
65596559
if (ViewModel.Type == DialogType.Thread)
65606560
{
6561-
if (group.JoinByRequest)
6561+
if (group.JoinToSendMessages)
65626562
{
6563-
ShowAction(Strings.ChannelJoinRequest, true);
6564-
}
6565-
else if (group.JoinToSendMessages)
6566-
{
6567-
ShowAction(Strings.JoinGroup, true);
6563+
if (group.JoinByRequest)
6564+
{
6565+
ShowAction(Strings.ChannelJoinRequest, true);
6566+
}
6567+
else
6568+
{
6569+
ShowAction(Strings.JoinGroup, true);
6570+
}
65686571
}
65696572
else if (!chat.Permissions.CanSendBasicMessages)
65706573
{

0 commit comments

Comments
 (0)