diff --git a/Riot/Modules/MatrixKit/Models/Account/MXKAccount.m b/Riot/Modules/MatrixKit/Models/Account/MXKAccount.m index b67c5b78b..8b297e221 100644 --- a/Riot/Modules/MatrixKit/Models/Account/MXKAccount.m +++ b/Riot/Modules/MatrixKit/Models/Account/MXKAccount.m @@ -998,7 +998,11 @@ -(void)openSessionWithStore:(id)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; diff --git a/changelog.d/887.change b/changelog.d/887.change new file mode 100644 index 000000000..39f48c217 --- /dev/null +++ b/changelog.d/887.change @@ -0,0 +1 @@ +Réactivation de l'antivirus \ No newline at end of file