             content (aget message "content")
             type    (aget message "content-type")]
         (when (and (= type "command")
-                   (> (str/index-of content "command=location") -1))
+                   (string/includes? content "command=location"))
           (aset message "show?" false))))))
 
 (defn remove-phone-messages! [old-realm new-realm]

            content (aget message "content")
            type    (aget message "content-type")]
        (when (and (= type "command")
                   (> (str/index-of content "command=phone") -1))
          (aset message "show?" false))))))

(defn migration [old-realm new-realm]

            [status-im.data-store.realm.schemas.account.v21.browser :as browser]
            [taoensso.timbre :as log]
            [cljs.reader :as reader]
            [clojure.string :as string]))

(def schema [chat/schema
             chat-contact/schema
