summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/roster/query/rst_update.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/roster/query/rst_update.erl b/src/roster/query/rst_update.erl
index c11e0a6..bf18652 100644
--- a/src/roster/query/rst_update.erl
+++ b/src/roster/query/rst_update.erl
@@ -41,7 +41,10 @@ decode_character_list (EncodedCharactersList) ->
lists:map
(
fun (Map) ->
- {maps:get(<<"ix">>, Map), shr_character:decode(Map)}
+ {
+ maps:get(<<"ix">>, Map),
+ shr_character:decode(maps:get(<<"bas">>, Map))
+ }
end,
EncodedCharactersList
).