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
1 changed files with 1 additions and 1 deletions

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),