25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

typo fix on roster subscription (EJAB-1711)

This commit is contained in:
Christophe Romain 2014-07-31 11:50:22 +02:00
parent db3c469d4d
commit 4205108f30

View File

@ -1238,7 +1238,7 @@ read_subscription_and_groups(LUser, LServer, LJID,
case catch odbc_queries:get_subscription(LServer, case catch odbc_queries:get_subscription(LServer,
Username, SJID) Username, SJID)
of of
{selected, [<<"subscription">>], [{SSubscription}]} -> {selected, [<<"subscription">>], [[SSubscription]]} ->
Subscription = case SSubscription of Subscription = case SSubscription of
<<"B">> -> both; <<"B">> -> both;
<<"T">> -> to; <<"T">> -> to;