   end
 
   def play(socket, _sender) do
-    play_sound socket, socket.assigns.notification.settings.audio
+    assigns = Rebel.get_assigns(socket)
+    sound =
+      socket.assigns.user_id
+      |> Accounts.get_user(preload: [:account])
+      |> UccChat.Settings.get_new_message_sound(socket.assigns.channel_id)
+    play_sound socket, sound
   end
 
   def change_audio(socket, sender) do


  alias UccChat.Notification
  alias UccChat.AccountService
  alias UcxUcc.TabBar.Tab

  def add_buttons do
    TabBar.add_button Tab.new(

      "icon-bell-alt",
      View,
      "notifications.html",
      50,
      [
        model: UccChat.Notification,
        prefix: "notification"
      ])
  end

  def args(socket, {user_id, channel_id, _, _}, params) do
