=== Test case: inbox_SUITE:unread_count_is_the_same_after_going_online_again/1 (click for source code)

=== Config value:

    [{watchdog,<0.26458.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 1},
                   backend => rdbms_async,bin_clean_after => 3600000,
                   bin_ttl => 30,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   groupchat => [muc],
                   iqdisc => no_queue,remove_on_kicked => true,
                   reset_markers => [<<"displayed">>]}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.inbox_SUITE.logs/run.2022-05-25_10.40.58/inbox_suite.unread_count_is_the_same_after_going_online_again.23556.html"},
     {tc_group_properties,[{name,muc},parallel]},
     {tc_group_path,[[{name,async_pools}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.inbox_SUITE.logs/run.2022-05-25_10.40.58/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44"

=== Started at 2022-05-25 10:41:13


*** CT 2022-05-25 10:41:13.675 *** View log from node mongooseim@localhost when started mongooseim@localhost_1669.html
*** CT 2022-05-25 10:41:13.675 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_402.html

*** User 2022-05-25 10:41:13.686 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:13.687 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='07a9b08340863cb1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:13.687 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:13.687 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fMTAwNQBtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 10:41:13.687 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:41:13.687 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:13.688 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da2c1a421de32883' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:13.688 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:13.688 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='6d5f98f93d0b98c12d65052e5167b356'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:41:13.688 ***
alicE_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq id='6d5f98f93d0b98c12d65052e5167b356' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:41:13.688 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='53a1267697cb3ddafdcd69a9bbd77016'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:13.689 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq type='result' id='53a1267697cb3ddafdcd69a9bbd77016'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:13.689 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<presence/>



*** User 2022-05-25 10:41:13.690 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:41:13.691 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:13.691 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a531824b8a1592a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:13.691 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:13.691 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzEwMDUAbWFrcm9saWth</auth>



*** User 2022-05-25 10:41:13.692 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:41:13.692 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:13.692 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1166a04d1ed29f5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:13.692 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:13.692 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='a2de1ac8778df805451cef3c56936552'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:41:13.693 ***
bOb_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq id='a2de1ac8778df805451cef3c56936552' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:41:13.693 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='4f478b68c0e7a4b8ef9b5311fe35a343'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:13.693 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq type='result' id='4f478b68c0e7a4b8ef9b5311fe35a343'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:13.693 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<presence/>



*** User 2022-05-25 10:41:13.694 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:41:13.694 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:13.695 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a28080af5d1ed79' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:13.695 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:13.695 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl8xMDA1AG1ha3Jvd2U7cA==</auth>



*** User 2022-05-25 10:41:13.695 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:41:13.696 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:13.696 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1fca27ca03da1ad2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:13.696 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:13.696 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='27f538b389d1c36d4f4695a680413f47'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:41:13.696 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq id='27f538b389d1c36d4f4695a680413f47' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:41:13.696 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='f6f4aa9e94a77d51a2a519509235edd2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:13.697 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq type='result' id='f6f4aa9e94a77d51a2a519509235edd2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:13.697 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<presence/>



*** User 2022-05-25 10:41:13.698 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:41:13.699 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<presence to='room-ce3a303faf@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1005'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 10:41:13.699 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<presence to='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 10:41:13.699 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<presence to='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 10:41:13.701 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.701 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1005' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.702 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='room-ce3a303faf@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 10:41:13.703 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.703 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.703 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='room-ce3a303faf@muc.localhost' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 10:41:13.703 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1005' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.703 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.703 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.703 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.703 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.704 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='room-ce3a303faf@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 10:41:13.704 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='df3020f1606e026dd4f663d2173de43f' to='room-ce3a303faf@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1005@localhost' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1005@localhost' affiliation='member'/>
	</query>
</iq>



*** User 2022-05-25 10:41:13.704 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.705 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.705 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq from='room-ce3a303faf@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' id='df3020f1606e026dd4f663d2173de43f' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-25 10:41:13.705 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.705 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.705 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.705 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.706 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<presence type='unavailable' to='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005'/>



*** User 2022-05-25 10:41:13.706 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.706 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.706 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.706 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<message to='room-ce3a303faf@muc.localhost' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 10:41:13.707 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 10:41:13.707 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 10:41:13.707 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<presence to='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 10:41:13.709 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.709 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.709 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.709 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.709 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<presence from='room-ce3a303faf@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:13.709 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:41:13Z' from='room-ce3a303faf@muc.localhost'/>
</message>



*** User 2022-05-25 10:41:13.709 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='room-ce3a303faf@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 10:41:13.709 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='6e28e2599f367f81fab1bb080faa9307'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-05-25 10:41:13.710 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1005@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' id='6e28e2599f367f81fab1bb080faa9307' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-05-25 10:41:13.811 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='6e28e2599f367f81fab1bb080faa9307'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-05-25 10:41:13.812 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_1005@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' id='1653-475273-812620'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='6e28e2599f367f81fab1bb080faa9307'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:41:13.707290Z'/>
			<message from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-25 10:41:13.812 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1005@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' id='6e28e2599f367f81fab1bb080faa9307' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-05-25 10:41:13.813 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='db4ab6aeb8d9e5c17b20f4fa59456c36'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-05-25 10:41:13.813 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_1005@localhost' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' id='1653-475273-813589'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='db4ab6aeb8d9e5c17b20f4fa59456c36'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:41:13.707262Z'/>
			<message from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-25 10:41:13.813 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_1005@localhost' to='alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' id='db4ab6aeb8d9e5c17b20f4fa59456c36' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-05-25 10:41:13.813 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
<iq type='set' id='b905db869fdc50347a348b9d8497a108'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-05-25 10:41:13.815 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_1005@localhost' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' id='1653-475273-814768'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='b905db869fdc50347a348b9d8497a108'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:41:13.707312Z'/>
			<message from='room-ce3a303faf@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1005' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-25 10:41:13.815 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_1005@localhost' to='kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1' id='b905db869fdc50347a348b9d8497a108' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-05-25 10:41:13.815 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:41:13.815 ***
kate_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:41:13.815 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:41:13.816 ***
bob_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:41:13.816 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:41:13.816 ***
alice_unread_count_is_the_same_after_going_online_again_1005@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:41:13.822 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_402.html
*** CT 2022-05-25 10:41:13.823 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1669.html



=== Ended at 2022-05-25 10:41:13
=== successfully completed test case
=== === Returned value: ok