diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-05-17 15:24:32 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-05-17 15:24:32 +0300 |
commit | 7165196211269b22f0d5e1be7ae6d50495284602 (patch) | |
tree | 2fec821d9654867cb21f44768cb7835abecff229 /src | |
parent | Implement cache for roster (diff) |
Get rid of unused variable
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_roster.erl | 3 |
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), |