Allowing HTTP downloads

This commit is contained in:
Vitor Pamplona
2023-02-02 14:30:58 -05:00
parent 4fa6873180
commit b3ce10c2de
2 changed files with 1 additions and 7 deletions
@@ -174,13 +174,6 @@ class User(val pubkeyHex: String) {
info = newUserInfo
updatedMetadataAt = updateAt
if (info.picture?.startsWith( "http://") == true) {
info.picture = info.picture?.replaceFirst("http://", "https://")
}
if (info.banner?.startsWith( "http://") == true) {
info.banner = info.banner?.replaceFirst("http://", "https://")
}
invalidateData()
}