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

=== Config value:

    [{watchdog,<0.24463.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 8},
                   backend => rdbms,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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.inbox_SUITE.logs/run.2022-05-25_09.06.49/inbox_suite.unread_count_is_the_same_after_going_online_again.html"},
     {tc_group_properties,[{name,muc}]},
     {tc_group_path,[[{name,regular}]]},
     {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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.inbox_SUITE.logs/run.2022-05-25_09.06.49/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:07:04


*** CT 2022-05-25 09:07:04.448 *** View log from node mongooseim@localhost when started mongooseim@localhost_1653.html
*** CT 2022-05-25 09:07:04.449 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_424.html

*** User 2022-05-25 09:07:04.458 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:07:04.458 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='11a08e085278a659' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:04.458 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.458 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fOTM5AG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 09:07:04.459 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:04.459 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:07:04.459 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62bffbd54868507d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:04.459 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.459 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='6ebc20382d8c323c4eea25ebd426088c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:04.460 ***
alicE_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq id='6ebc20382d8c323c4eea25ebd426088c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:04.460 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='502b835533d77b4b919c2f19a59bf4a1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:04.460 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq type='result' id='502b835533d77b4b919c2f19a59bf4a1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:04.460 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:04.462 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:04.462 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:07:04.463 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2abd929da252cc47' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:04.463 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.463 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzkzOQBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 09:07:04.464 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:04.464 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:07:04.464 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2b7ba10892b260b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:04.464 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.464 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='ef21707a4e65ed201c4fc33e26f153ce'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:04.464 ***
bOb_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq id='ef21707a4e65ed201c4fc33e26f153ce' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:04.464 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='efeb38250218aae0d953f28bbe113be0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:04.465 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq type='result' id='efeb38250218aae0d953f28bbe113be0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:04.465 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:04.466 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:04.467 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:07:04.467 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0a62232d224e6e5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:04.467 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.467 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl85MzkAbWFrcm93ZTtw</auth>



*** User 2022-05-25 09:07:04.468 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:04.468 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:07:04.468 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e352f5a3aff88a40' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:04.469 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.469 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='c66b88ea5ff48d8f3614d87f25d03cb2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:04.469 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq id='c66b88ea5ff48d8f3614d87f25d03cb2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:04.469 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='9cf105997b984846f08321b7ddd40f2a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:04.469 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq type='result' id='9cf105997b984846f08321b7ddd40f2a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:04.469 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:04.471 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:04.471 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<presence to='room-4117afd1c2@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_939'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:07:04.472 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<presence to='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:07:04.472 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<presence to='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:07:04.473 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_939' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.473 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='room-4117afd1c2@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:07:04.474 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.475 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.475 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_939' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.475 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.476 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='room-4117afd1c2@groupchats.domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:07:04.476 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.476 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.476 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.476 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.476 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='room-4117afd1c2@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:07:04.476 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='0a241b858a93d706cb320c228607325a' to='room-4117afd1c2@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com' affiliation='member'/>
	</query>
</iq>



*** User 2022-05-25 09:07:04.477 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.477 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.477 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq from='room-4117afd1c2@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' id='0a241b858a93d706cb320c228607325a' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-25 09:07:04.477 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.477 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.477 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.477 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.477 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<presence type='unavailable' to='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939'/>



*** User 2022-05-25 09:07:04.478 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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_939@domain.example.com/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.478 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.478 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.478 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<message to='room-4117afd1c2@groupchats.domain.example.com' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 09:07:04.484 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 09:07:04.484 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 09:07:04.484 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<presence to='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:07:04.485 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.485 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.485 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.485 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:04.485 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<presence from='room-4117afd1c2@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/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 09:07:04.486 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:04Z' from='room-4117afd1c2@groupchats.domain.example.com'/>
</message>



*** User 2022-05-25 09:07:04.486 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='room-4117afd1c2@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:07:04.486 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='21b79eef021e364512a4aee67b6829c6'>
	<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 09:07:04.487 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' id='1653-469624-487369'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='21b79eef021e364512a4aee67b6829c6'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:04.481140Z'/>
			<message from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com' 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 09:07:04.487 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' id='21b79eef021e364512a4aee67b6829c6' 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 09:07:04.487 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='fe873e37560acd2e22e7a957bd6c22a4'>
	<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 09:07:04.489 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' id='1653-469624-488887'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='fe873e37560acd2e22e7a957bd6c22a4'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:04.478754Z'/>
			<message from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com' 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 09:07:04.489 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' id='fe873e37560acd2e22e7a957bd6c22a4' 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 09:07:04.489 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
<iq type='set' id='d0f14d3b749d8971ddcbe8dae3478dbb'>
	<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 09:07:04.490 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' id='1653-469624-490421'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='d0f14d3b749d8971ddcbe8dae3478dbb'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:04.482581Z'/>
			<message from='room-4117afd1c2@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_939' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com' 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 09:07:04.490 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1' id='d0f14d3b749d8971ddcbe8dae3478dbb' 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 09:07:04.490 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:04.491 ***
kate_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:07:04.491 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:04.491 ***
bob_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:07:04.491 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:04.491 ***
alice_unread_count_is_the_same_after_going_online_again_939@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:07:04.493 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_424.html
*** CT 2022-05-25 09:07:04.493 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1653.html



=== Ended at 2022-05-25 09:07:04
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result