                   :on-click #(do
                                (init-data state)
                                (.preventDefault %))}
-              (str (t :social/Loadmore) " (" (:messages_left @state) " " (t :social/Messagesleft) ")")]]]
-     ]
-))
+              (str (t :social/Loadmore) " (" (:messages_left @state) " " (t :social/Messagesleft) ")")]]]]))
 
 
 (defn scroll-bottom []

                    }
           (t :badge/Delete)]])])))

(defn message-list-item [{:keys [message first_name last_name ctime id profile_picture user_id]} state]
  [:div {:class "media message-item" :key id}
  (if (or (=  user_id (:user_id @state)) (= "admin" (:user_role @state)))

      [:span.date (date-from-unix-time (* 1000 ctime) "minutes")]
     ]
    (into [:div] (for [ item (clojure.string/split-lines message)]
                   (into [:p.msg] (search-and-replace-www item))))]])

(defn message-list-load-more [state]
  (if (pos? (:messages_left @state))
