25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix unused variable, forgotten in the recent commit 739a231

This commit is contained in:
Badlop 2023-09-26 16:50:55 +02:00
parent cd421f98d7
commit a534196315

View File

@ -1339,7 +1339,7 @@ get_roster(User, Server) ->
make_roster_xmlrpc(Roster) -> make_roster_xmlrpc(Roster) ->
lists:map( lists:map(
fun(#roster_item{jid = JID, name = Nick, subscription = Sub, ask = Ask, groups = Groups} = Item) -> fun(#roster_item{jid = JID, name = Nick, subscription = Sub, ask = Ask, groups = Groups}) ->
JIDS = jid:encode(JID), JIDS = jid:encode(JID),
Subs = atom_to_list(Sub), Subs = atom_to_list(Sub),
Asks = atom_to_list(Ask), Asks = atom_to_list(Ask),