aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2014-07-31 11:50:22 +0200
committerChristophe Romain <christophe.romain@process-one.net>2014-07-31 11:50:22 +0200
commit4205108f304d5f64924079743b7cc5225e4f557f (patch)
treefdd378c472d3fbe62d0a50d30ae375d9407a8626
parentReorganize mod_announce test in order to avoid race (diff)
typo fix on roster subscription (EJAB-1711)
-rw-r--r--src/mod_roster.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_roster.erl b/src/mod_roster.erl
index 6ca02dc78..7bd171ffb 100644
--- a/src/mod_roster.erl
+++ b/src/mod_roster.erl
@@ -1238,7 +1238,7 @@ read_subscription_and_groups(LUser, LServer, LJID,
case catch odbc_queries:get_subscription(LServer,
Username, SJID)
of
- {selected, [<<"subscription">>], [{SSubscription}]} ->
+ {selected, [<<"subscription">>], [[SSubscription]]} ->
Subscription = case SSubscription of
<<"B">> -> both;
<<"T">> -> to;