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

=== Config value:

    [{watchdog,<0.23991.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.inbox_SUITE.logs/run.2022-05-11_08.59.49/inbox_suite.unread_count_is_the_same_after_going_online_again.35970.html"},
     {tc_group_properties,[{name,muc},parallel]},
     {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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.inbox_SUITE.logs/run.2022-05-11_08.59.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@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 08:59:53


*** CT 2022-05-11 08:59:53.318 *** View log from node mongooseim@localhost when started mongooseim@localhost_1728.html
*** CT 2022-05-11 08:59:53.319 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_431.html

*** User 2022-05-11 08:59:53.329 ***
alicE_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.330 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8d1e49dbd8e7b1c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:53.330 ***
alicE_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.330 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fOTI0AG1hdHlncnlzYQ==</auth>



*** User 2022-05-11 08:59:53.331 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 08:59:53.331 ***
alicE_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.331 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f5f511cb2f71ad79' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:53.331 ***
alicE_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.331 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='50b8b2e5d9cb6bb90ba395c7605a4c88'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 08:59:53.331 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq id='50b8b2e5d9cb6bb90ba395c7605a4c88' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 08:59:53.332 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='10308098166fbc2de025e38a04e3d1cc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:53.332 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq type='result' id='10308098166fbc2de025e38a04e3d1cc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:53.332 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 08:59:53.334 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' to='alice_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 08:59:53.334 ***
bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.334 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c84ecc2abbdc985' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:53.334 ***
bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.335 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzkyNABtYWtyb2xpa2E=</auth>



*** User 2022-05-11 08:59:53.335 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 08:59:53.335 ***
bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.336 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb4f728ef43c7370' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:53.336 ***
bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.336 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='db61104395fb20108b5984a3e8773423'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 08:59:53.336 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq id='db61104395fb20108b5984a3e8773423' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 08:59:53.336 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='321ec7ec9c43635f510802f01fd37522'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:53.336 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq type='result' id='321ec7ec9c43635f510802f01fd37522'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:53.336 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 08:59:53.338 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' to='bob_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 08:59:53.338 ***
kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.339 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e84a4eb72bb2333' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:53.339 ***
kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.339 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl85MjQAbWFrcm93ZTtw</auth>



*** User 2022-05-11 08:59:53.340 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 08:59:53.340 ***
kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.340 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd02a23b4a76f1bc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:53.340 ***
kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.340 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='84e6afd065a5cf413184debedbd4872c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 08:59:53.340 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq id='84e6afd065a5cf413184debedbd4872c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 08:59:53.341 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='d75321121204ca3d4d6555cf80b8dfe4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:53.341 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq type='result' id='d75321121204ca3d4d6555cf80b8dfe4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:53.341 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 08:59:53.342 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' to='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 08:59:53.344 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<presence to='room-b6648efff6@groupchats.domain.example.com/alicE_unread_count_is_the_same_after_going_online_again_924'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-11 08:59:53.344 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<presence to='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-11 08:59:53.344 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<presence to='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-11 08:59:53.346 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/alicE_unread_count_is_the_same_after_going_online_again_924' to='alicE_unread_count_is_the_same_after_going_online_again_924@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_924@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-05-11 08:59:53.347 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='room-b6648efff6@groupchats.domain.example.com' to='alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-11 08:59:53.348 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='alicE_unread_count_is_the_same_after_going_online_again_924@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_924@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:53.350 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='alicE_unread_count_is_the_same_after_going_online_again_924@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_924@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:53.350 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/alicE_unread_count_is_the_same_after_going_online_again_924' to='bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.350 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.350 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='room-b6648efff6@groupchats.domain.example.com' to='bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-11 08:59:53.350 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.350 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/alicE_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.351 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.351 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.352 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='room-b6648efff6@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-11 08:59:53.352 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='bb2d56cdc4f88658a3430b13b3eb57fc' to='room-b6648efff6@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com' affiliation='member'/>
	</query>
</iq>



*** User 2022-05-11 08:59:53.353 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='alicE_unread_count_is_the_same_after_going_online_again_924@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_924@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:53.353 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='alicE_unread_count_is_the_same_after_going_online_again_924@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_924@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:53.353 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq from='room-b6648efff6@groupchats.domain.example.com' to='alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' id='bb2d56cdc4f88658a3430b13b3eb57fc' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-11 08:59:53.353 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.353 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.353 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.353 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.353 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<presence type='unavailable' to='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924'/>



*** User 2022-05-11 08:59:53.354 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='alicE_unread_count_is_the_same_after_going_online_again_924@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_924@domain.example.com/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-11 08:59:53.354 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.354 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.354 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<message to='room-b6648efff6@groupchats.domain.example.com' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-11 08:59:53.357 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-11 08:59:53.357 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-11 08:59:53.358 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<presence to='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-11 08:59:53.377 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='alicE_unread_count_is_the_same_after_going_online_again_924@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_924@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:53.377 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='bOb_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.377 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/alicE_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.377 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.377 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<presence from='room-b6648efff6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.377 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T08:59:53Z' from='room-b6648efff6@groupchats.domain.example.com'/>
</message>



*** User 2022-05-11 08:59:53.377 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='room-b6648efff6@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-11 08:59:53.377 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='33a8f68fbb796fcc09b33fc5adfe78c3'>
	<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-11 08:59:53.379 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com' to='bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' id='1652-259593-378742'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='33a8f68fbb796fcc09b33fc5adfe78c3'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T08:59:53.355512Z'/>
			<message from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='bob_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.379 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq from='bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com' to='bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' id='33a8f68fbb796fcc09b33fc5adfe78c3' 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-11 08:59:53.379 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='e3b54ae1d9b9d6dab6a526cc68c3cfbc'>
	<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-11 08:59:53.380 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com' to='alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' id='1652-259593-380203'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='e3b54ae1d9b9d6dab6a526cc68c3cfbc'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T08:59:53.354804Z'/>
			<message from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='alice_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.380 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq from='alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com' to='alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' id='e3b54ae1d9b9d6dab6a526cc68c3cfbc' 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-11 08:59:53.380 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
<iq type='set' id='a8eda46b7e814f4fa0d31fcca3708bbc'>
	<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-11 08:59:53.381 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' id='1652-259593-381631'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='a8eda46b7e814f4fa0d31fcca3708bbc'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T08:59:53.356122Z'/>
			<message from='room-b6648efff6@groupchats.domain.example.com/bOb_unread_count_is_the_same_after_going_online_again_924' to='kate_unread_count_is_the_same_after_going_online_again_924@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-11 08:59:53.382 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1' id='a8eda46b7e814f4fa0d31fcca3708bbc' 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-11 08:59:53.382 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 08:59:53.382 ***
kate_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 08:59:53.382 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 08:59:53.383 ***
bOb_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 08:59:53.383 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 08:59:53.383 ***
alicE_unread_count_is_the_same_after_going_online_again_924@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 08:59:53.391 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_431.html
*** CT 2022-05-11 08:59:53.391 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1728.html



=== Ended at 2022-05-11 08:59:53
=== successfully completed test case
=== === Returned value: ok