@ -19,10 +19,10 @@ final class DataExtractionNotificationInfoMessage : TSInfoMessage {
let sessionID = thread . contactSessionID ( )
let displayName = Storage . shared . getContact ( with : sessionID ) ? . displayName ( for : . regular ) ? ? sessionID
switch messageType {
case . screenshotNotification : return " \( displayName ) took a screenshot. "
case . screenshotNotification : return String ( format : NSLocalizedString ( " screenshot_taken " , comment : " " ) , displayName )
case . mediaSavedNotification :
// TODO: U s e r e f e r e n c e d A t t a c h m e n t T i m e s t a m p t o t e l l t h e u s e r * w h i c h * m e d i a w a s s a v e d
return " Media saved by \( displayName ) . "
return String ( format : NSLocalizedString ( " meida_saved " , comment : " " ) , displayName )
default : preconditionFailure ( )
}
}