25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +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) ->
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),
Subs = atom_to_list(Sub),
Asks = atom_to_list(Ask),