fix the activity center crash when replying with an image (#16281)

This commit is contained in:
Parvesh Monu 2023-06-15 17:36:48 +05:30 committed by GitHub
parent 1ab57851d2
commit 4f4489ee51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -192,4 +192,5 @@
(defn replace-port
[url new-port]
(string/replace url #"(:\d+)" (str ":" new-port)))
(when url
(string/replace url #"(:\d+)" (str ":" new-port))))