Skip to content

Commit

Permalink
Merge pull request #994 from tchapgouv/887-antivirus-nest-pas-configure
Browse files Browse the repository at this point in the history
Initialise `antivirusServerUrl` à la même valeur que le homeServerUrl…
  • Loading branch information
NicolasBuquet authored Mar 25, 2024
2 parents ff48c74 + 987daa8 commit 0456a99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Riot/Modules/MatrixKit/Models/Account/MXKAccount.m
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,11 @@ -(void)openSessionWithStore:(id<MXStore>)store
// Enable the antivirus scanner in the current session.
[mxSession setAntivirusServerURL:_antivirusServerURL];
}

// Tchap: else hard code antivirus server URL with homeServer URL like in Tchap Android.
else {
[mxSession setAntivirusServerURL:self.mxCredentials.homeServer];
}

// Set default MXEvent -> NSString formatter
MXKEventFormatter *eventFormatter = [[MXKEventFormatter alloc] initWithMatrixSession:self.mxSession];
eventFormatter.isForSubtitle = YES;
Expand Down
1 change: 1 addition & 0 deletions changelog.d/887.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Réactivation de l'antivirus

0 comments on commit 0456a99

Please sign in to comment.