mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 08:47:33 +00:00
Allowing HTTP downloads
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user