Skip to content

Commit 140da56

Browse files
authored
Merge pull request #433 from VernissageApp/bugfix/fix-inblock-button
Fix unblock button callback
2 parents d90e864 + c1b37cb commit 140da56

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/app/components/widgets/follow-buttons-section/follow-buttons-section.component.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@ export class FollowButtonsSectionComponent implements OnInit, OnDestroy {
145145
}
146146

147147
protected async unmuteAccount(): Promise<void> {
148-
const internalUserBlockDomain = this.userBlockedDomain();
149-
if (!internalUserBlockDomain) {
150-
return;
151-
}
152-
153148
const dialogRef = this.dialog.open(ConfirmationDialog, {
154149
width: '500px',
155150
data: 'Do you want to unmute user?'
@@ -203,11 +198,6 @@ export class FollowButtonsSectionComponent implements OnInit, OnDestroy {
203198
}
204199

205200
protected async unblockAccount(): Promise<void> {
206-
const internalUserBlockDomain = this.userBlockedDomain();
207-
if (!internalUserBlockDomain) {
208-
return;
209-
}
210-
211201
const dialogRef = this.dialog.open(ConfirmationDialog, {
212202
width: '500px',
213203
data: 'Do you want to unblock user?'

0 commit comments

Comments
 (0)