mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
feat(core): Add message of the day. Remove all html tags except for anchor tags (mobile only)
This commit is contained in:
@@ -1052,7 +1052,7 @@ static const NSString *kJwtKey = @"jwt";
|
||||
|
||||
- (NSString *)motdEscaped
|
||||
{
|
||||
return [[[SOGoAdmin sharedInstance] getMotd] stringWithoutHTMLInjection: YES];
|
||||
return [[[SOGoAdmin sharedInstance] getMotd] removeHTMLTagsExceptAnchorTags];
|
||||
}
|
||||
|
||||
- (BOOL)hasMotd
|
||||
|
||||
Reference in New Issue
Block a user