diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-07-05 09:31:55 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-07-05 09:31:55 +0300 |
commit | 50b645aa92cd356df2c42ac6a903304c49df1e53 (patch) | |
tree | 60667eb66cb822af799a09bc6a0848d3f3b8dca6 /src/xmpp_stream_in.erl | |
parent | Set 'from' attribute for client connections when it is absent (diff) |
Move shaper to p1_utils repo
Diffstat (limited to 'src/xmpp_stream_in.erl')
-rw-r--r-- | src/xmpp_stream_in.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp_stream_in.erl b/src/xmpp_stream_in.erl index 29e0d1016..fa1038ead 100644 --- a/src/xmpp_stream_in.erl +++ b/src/xmpp_stream_in.erl @@ -183,7 +183,7 @@ get_transport(#{socket := Socket, owner := Owner}) get_transport(_) -> erlang:error(badarg). --spec change_shaper(state(), shaper:shaper()) -> state(). +-spec change_shaper(state(), ejabberd_shaper:shaper()) -> state(). change_shaper(#{socket := Socket, owner := Owner} = State, Shaper) when Owner == self() -> Socket1 = xmpp_socket:change_shaper(Socket, Shaper), |