summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-05-17 15:24:32 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-05-17 15:24:32 +0300
commit7165196211269b22f0d5e1be7ae6d50495284602 (patch)
tree2fec821d9654867cb21f44768cb7835abecff229 /src
parentImplement cache for roster (diff)
Get rid of unused variable
Diffstat (limited to 'src')
-rw-r--r--src/mod_roster.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mod_roster.erl b/src/mod_roster.erl
index b256f107..7a3eebbe 100644
--- a/src/mod_roster.erl
+++ b/src/mod_roster.erl
@@ -847,8 +847,7 @@ process_item_set_t(_LUser, _LServer, _) -> ok.
-> {presence(), ejabberd_c2s:state()}.
c2s_self_presence({_, #{pres_last := _}} = Acc) ->
Acc;
-c2s_self_presence({#presence{type = available} = Pkt,
- #{lserver := LServer} = State}) ->
+c2s_self_presence({#presence{type = available} = Pkt, State}) ->
Prio = get_priority_from_presence(Pkt),
if Prio >= 0 ->
State1 = resend_pending_subscriptions(State),