This commit is contained in:
Tusooa Zhu 2022-08-19 14:10:07 -04:00
commit f459c1260b
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
3 changed files with 9 additions and 4 deletions

View file

@ -32,7 +32,8 @@ defmodule Pleroma.Web.MastodonAPI.WebsocketHandler do
req
end
{:cowboy_websocket, req, %{user: user, topic: topic, oauth_token: oauth_token, count: 0, timer: nil},
{:cowboy_websocket, req,
%{user: user, topic: topic, oauth_token: oauth_token, count: 0, timer: nil},
%{idle_timeout: @timeout}}
else
{:error, :bad_topic} ->