<div dir="ltr"><br><div class="gmail_extra">thank you for kind response,<br>user1 subscribe to g1 group, two resource(A and B) of user1 are online, when each one join to g1 group another resource will not receive message from g1 group, if leave g1 group, all resource receive message from group.<br></div><div class="gmail_extra">why when each one of resource join g1 group, another resoure that subscribe to g1 group ,don't receive message?<br></div><div class="gmail_extra"><br><br><br></div><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 19, 2017 at 10:27 AM,  <span dir="ltr"><<a href="mailto:ejabberd-request@jabber.ru" target="_blank">ejabberd-request@jabber.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send ejabberd mailing list submissions to<br>
        <a href="mailto:ejabberd@jabber.ru">ejabberd@jabber.ru</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.jabber.ru/mailman/listinfo/ejabberd" rel="noreferrer" target="_blank">http://lists.jabber.ru/<wbr>mailman/listinfo/ejabberd</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:ejabberd-request@jabber.ru">ejabberd-request@jabber.ru</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:ejabberd-owner@jabber.ru">ejabberd-owner@jabber.ru</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ejabberd digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. mucsub issue (jacob jabber)<br>
   2. Re: mucsub issue (Micka?l R?mond)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Tue, 19 Sep 2017 10:09:58 +0430<br>
From: jacob jabber <<a href="mailto:ejabberd.jacob@gmail.com">ejabberd.jacob@gmail.com</a>><br>
To: <a href="mailto:ejabberd@jabber.ru">ejabberd@jabber.ru</a><br>
Subject: [ejabberd] mucsub issue<br>
Message-ID:<br>
        <CAOY1yjDpN_2O9=<a href="mailto:LYMJVcmnXpq_WfDqfbGYKczQjBVOMmaAm5EA@mail.gmail.com">LYMJVcmnXpq_<wbr>WfDqfbGYKczQjBVOMmaAm5EA@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I use ejabberd 17.01, enables carbon_copy and uses mucsub<br>
I subscibe user1, user2 in g1' group, user1 have two resource(A and B).<br>
when user2 send message to g1 group, user1/A and user2/B receive messages,<br>
but when user1/A join to g1 group, user1/B did'nt receive message, why one<br>
of devices join to group another device (all device are subscibe) don't<br>
receive messages?<br>
<br>
<br>
muc  room :<br>
| g1 | <a href="http://conference.example.com" rel="noreferrer" target="_blank">conference.example.com</a> | [{title,<<>>},<br>
{description,<<>>},<br>
{allow_change_subj,true},<br>
{allow_query_users,true},<br>
{allow_private_messages,true},<br>
{allow_private_messages_from_<wbr>visitors,anyone},<br>
{allow_visitor_status,true},<br>
{allow_visitor_nickchange,<wbr>true},<br>
{public,false},<br>
{public_list,false},<br>
{persistent,true},<br>
{moderated,true},<br>
{members_by_default,true},<br>
{members_only,true},<br>
{allow_user_invites,false},<br>
{password_protected,false},<br>
{captcha_protected,false},<br>
{password,<<>>},<br>
{anonymous,true},<br>
{logging,true},<br>
{max_users,500},<br>
{allow_voice_requests,true},<br>
{allow_subscription,true},<br>
{mam,true},<br>
{presence_broadcast,[]},<br>
{voice_request_min_interval,<wbr>1800},<br>
{vcard,<<>>},<br>
{captcha_whitelist,[]},<br>
{affiliations,[{{<<"user1">>,<<wbr><"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<<>>},{owner,<wbr><<>>}},<br>
                {{<<"user2">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
                {{<<"user3">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
                {{<<"user4">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
                {{<<"user5">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
                {{<<"user6">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
                {{<<"user7">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}}]},<br>
{subject,<<>>},<br>
{subject_author,<<>>},<br>
{subscribers,[{{jid,<<"user1"><wbr>>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<<>>,<br>
                     <<"user1">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
                <<"user1">>,<br>
                [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
               {{jid,<<"user2">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
                     <<"user2">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
                <<"user2">>,<br>
                 [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
               {{jid,<<"user3">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
                     <<"user3">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
                <<"user3">>,<br>
                [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
               {{jid,<<"user4">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
                     <<"user4">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
                <<"user4">>,<br>
                [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
               {{jid,<<"user5">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
                     <<"user5">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
                <<"user5">>,<br>
                [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
               {{jid,<<"user6">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
                     <<"user6">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
                <<"user6">>,<br>
                [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
               {{jid,<<"user7">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
                     <<"user7">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
                <<"user7">>,<br>
                [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]}]}]<br>
<br>
please help me, thanks in advance<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.jabber.ru/pipermail/ejabberd/attachments/20170919/22765752/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.jabber.ru/<wbr>pipermail/ejabberd/<wbr>attachments/20170919/22765752/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 19 Sep 2017 07:56:59 +0200<br>
From: Micka?l R?mond <<a href="mailto:mremond@process-one.net">mremond@process-one.net</a>><br>
To: <a href="mailto:ejabberd@jabber.ru">ejabberd@jabber.ru</a><br>
Subject: Re: [ejabberd] mucsub issue<br>
Message-ID: <<a href="mailto:7416F3F1-1879-410C-8EED-7EA20C59D325@process-one.net">7416F3F1-1879-410C-8EED-<wbr>7EA20C59D325@process-one.net</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
In XMPP, messages are routed to online resources. It does not think in term of devices but users. The messages is thus routed to the online resources. That behavior is defined in core specification.<br>
<br>
I hope this helps,<br>
<br>
--<br>
Micka?l R?mond<br>
<br>
> Le 19 sept. 2017 ? 07:39, jacob jabber <<a href="mailto:ejabberd.jacob@gmail.com">ejabberd.jacob@gmail.com</a>> a ?crit :<br>
><br>
> I use ejabberd 17.01, enables carbon_copy and uses mucsub<br>
> I subscibe user1, user2 in g1' group, user1 have two resource(A and B).<br>
> when user2 send message to g1 group, user1/A and user2/B receive messages, but when user1/A join to g1 group, user1/B did'nt receive message, why one of devices join to group another device (all device are subscibe) don't receive messages?<br>
><br>
><br>
> muc  room :<br>
> | g1 | <a href="http://conference.example.com" rel="noreferrer" target="_blank">conference.example.com</a> | [{title,<<>>},<br>
> {description,<<>>},<br>
> {allow_change_subj,true},<br>
> {allow_query_users,true},<br>
> {allow_private_messages,true},<br>
> {allow_private_messages_from_<wbr>visitors,anyone},<br>
> {allow_visitor_status,true},<br>
> {allow_visitor_nickchange,<wbr>true},<br>
> {public,false},<br>
> {public_list,false},<br>
> {persistent,true},<br>
> {moderated,true},<br>
> {members_by_default,true},<br>
> {members_only,true},<br>
> {allow_user_invites,false},<br>
> {password_protected,false},<br>
> {captcha_protected,false},<br>
> {password,<<>>},<br>
> {anonymous,true},<br>
> {logging,true},<br>
> {max_users,500},<br>
> {allow_voice_requests,true},<br>
> {allow_subscription,true},<br>
> {mam,true},<br>
> {presence_broadcast,[]},<br>
> {voice_request_min_interval,<wbr>1800},<br>
> {vcard,<<>>},<br>
> {captcha_whitelist,[]},<br>
> {affiliations,[{{<<"user1">>,<<wbr><"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<<>>},{owner,<wbr><<>>}},<br>
>                 {{<<"user2">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
>                 {{<<"user3">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
>                 {{<<"user4">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
>                 {{<<"user5">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
>                 {{<<"user6">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}},<br>
>                 {{<<"user7">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>"><wbr>>,<<>>},{owner,<<>>}}]},<br>
> {subject,<<>>},<br>
> {subject_author,<<>>},<br>
> {subscribers,[{{jid,<<"user1"><wbr>>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<<>>,<br>
>                      <<"user1">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
>                 <<"user1">>,<br>
>                 [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
>                {{jid,<<"user2">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
>                      <<"user2">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
>                 <<"user2">>,<br>
>                  [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
>                {{jid,<<"user3">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
>                      <<"user3">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
>                 <<"user3">>,<br>
>                 [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
>                {{jid,<<"user4">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
>                      <<"user4">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
>                 <<"user4">>,<br>
>                 [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
>                {{jid,<<"user5">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
>                      <<"user5">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
>                 <<"user5">>,<br>
>                 [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
>                {{jid,<<"user6">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
>                      <<"user6">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
>                 <<"user6">>,<br>
>                 [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]},<br>
>                {{jid,<<"user7">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.<wbr>com</a>">>,<<>>,<br>
>                      <<"user7">>,<<"<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>">>,<wbr><<>>},<br>
>                 <<"user7">>,<br>
>                 [<<"urn:xmpp:mucsub:nodes:<wbr>messages">>]}]}]<br>
> please help me, thanks in advance<br>
><br>
> ______________________________<wbr>_________________<br>
> ejabberd mailing list<br>
> <a href="mailto:ejabberd@jabber.ru">ejabberd@jabber.ru</a><br>
> <a href="http://lists.jabber.ru/mailman/listinfo/ejabberd" rel="noreferrer" target="_blank">http://lists.jabber.ru/<wbr>mailman/listinfo/ejabberd</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.jabber.ru/pipermail/ejabberd/attachments/20170919/76abf8ea/attachment.html" rel="noreferrer" target="_blank">http://lists.jabber.ru/<wbr>pipermail/ejabberd/<wbr>attachments/20170919/76abf8ea/<wbr>attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
ejabberd mailing list<br>
<a href="mailto:ejabberd@jabber.ru">ejabberd@jabber.ru</a><br>
<a href="http://lists.jabber.ru/mailman/listinfo/ejabberd" rel="noreferrer" target="_blank">http://lists.jabber.ru/<wbr>mailman/listinfo/ejabberd</a><br>
<br>
<br>
------------------------------<br>
<br>
End of ejabberd Digest, Vol 170, Issue 4<br>
******************************<wbr>**********<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(68,68,68)"><b><br></b></span></div><span style="color:rgb(68,68,68)"><b>Best Regards</b></span><br></div></div>
</div></div>