They were telling people to wear masks for the last flu pandemic in 1918.
https://www.nytimes.com/2020/04/02/nyregion/spanish-flu-nyc-virus.html
https://www.sfweekly.com/culture/san-franciscans-were-legally-required-to-wear-masks-during-the-last-great-pandemic/amp/