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

=== Config value:

    [{watchdog,<0.3532.1>},
     {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">>],
                   delete_domain_limit => infinity,
                   groupchat => [muc],
                   iqdisc => no_queue,max_result_limit => infinity,
                   remove_on_kicked => true,
                   reset_markers => [<<"displayed">>]}},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.inbox_SUITE.logs/run.2023-11-17_15.16.56/inbox_suite.unread_count_is_the_same_after_going_online_again.55683.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@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.inbox_SUITE.logs/run.2023-11-17_15.16.56/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_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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@a557e8d70b1c.2023-11-17_15.09.37"

=== Started at 2023-11-17 15:17:01


*** CT 2023-11-17 15:17:01.388 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2168.html

*** User 2023-11-17 15:17:01.406 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@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 2023-11-17 15:17:01.407 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61d4c3e40a259dc4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:17:01.408 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:17:01.408 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fMTU0NQBtYXR5Z3J5c2E=</auth>



*** User 2023-11-17 15:17:01.409 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:17:01.409 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@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 2023-11-17 15:17:01.409 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c11fdc0576e0931b' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com'>

*** User 2023-11-17 15:17:01.410 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:17:01.410 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='ea52e4c68472c9e92c0247c24ac41830'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:17:01.410 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq id='ea52e4c68472c9e92c0247c24ac41830' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:17:01.410 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='ef472c4e180690e5dc9d5dd4f1e444f5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:17:01.410 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='ef472c4e180690e5dc9d5dd4f1e444f5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:17:01.411 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:17:01.420 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'/>



*** User 2023-11-17 15:17:01.420 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@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 2023-11-17 15:17:01.421 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7be9c0aab00d7704' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:17:01.421 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:17:01.421 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzE1NDUAbWFrcm9saWth</auth>



*** User 2023-11-17 15:17:01.467 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:17:01.467 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@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 2023-11-17 15:17:01.468 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6ec022789d4822c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com'>

*** User 2023-11-17 15:17:01.468 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:17:01.468 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='a36d3a5a6f7b08ed7f45911872c40a53'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:17:01.468 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq id='a36d3a5a6f7b08ed7f45911872c40a53' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:17:01.468 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='bc13d9ea4572ac3c408abd57f5f1682d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:17:01.469 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='bc13d9ea4572ac3c408abd57f5f1682d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:17:01.469 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:17:01.472 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'/>



*** User 2023-11-17 15:17:01.473 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@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 2023-11-17 15:17:01.473 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2435d2e615a09658' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:17:01.473 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:17:01.473 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl8xNTQ1AG1ha3Jvd2U7cA==</auth>



*** User 2023-11-17 15:17:01.474 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:17:01.474 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@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 2023-11-17 15:17:01.475 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c0e372dbf54e9f40' from='domain.example.com' version='1.0' xml:lang='en' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com'>

*** User 2023-11-17 15:17:01.475 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:17:01.475 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='6d916c551f287c3a368562dc0e0db17e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:17:01.475 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq id='6d916c551f287c3a368562dc0e0db17e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:17:01.475 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='448eb28464daad42a3d0a380ab9d741d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:17:01.476 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='448eb28464daad42a3d0a380ab9d741d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:17:01.476 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:17:01.480 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'/>



*** User 2023-11-17 15:17:01.481 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<presence to='room-ae306ea2e6@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1545'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2023-11-17 15:17:01.481 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<presence to='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2023-11-17 15:17:01.482 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<presence to='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2023-11-17 15:17:01.483 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1545' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.484 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='room-ae306ea2e6@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2023-11-17 15:17:01.485 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.486 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.487 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1545' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.487 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.487 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='room-ae306ea2e6@groupchats.domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2023-11-17 15:17:01.487 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.487 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.487 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.487 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.488 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='room-ae306ea2e6@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2023-11-17 15:17:01.488 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='db17df8bb2dd3f49084f6b2de880654c' to='room-ae306ea2e6@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' affiliation='member'/>
	</query>
</iq>



*** User 2023-11-17 15:17:01.488 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.489 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.489 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq from='room-ae306ea2e6@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='db17df8bb2dd3f49084f6b2de880654c' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2023-11-17 15:17:01.489 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.489 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.489 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.489 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.489 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<presence type='unavailable' to='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545'/>



*** User 2023-11-17 15:17:01.490 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.490 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.490 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.490 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<message to='room-ae306ea2e6@groupchats.domain.example.com' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2023-11-17 15:17:01.491 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2023-11-17 15:17:01.491 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2023-11-17 15:17:01.491 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<presence to='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2023-11-17 15:17:01.492 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.492 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.492 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.492 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.492 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<presence from='room-ae306ea2e6@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2023-11-17 15:17:01.492 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:17:01Z' from='room-ae306ea2e6@groupchats.domain.example.com'/>
</message>



*** User 2023-11-17 15:17:01.492 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='room-ae306ea2e6@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2023-11-17 15:17:01.492 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='9e8507dd10723b22156fe77f1f3214b7'>
	<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 2023-11-17 15:17:01.493 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='9e8507dd10723b22156fe77f1f3214b7' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'/>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:17:01.595 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='9e8507dd10723b22156fe77f1f3214b7'>
	<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 2023-11-17 15:17:01.596 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='1700-234221-596017'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='9e8507dd10723b22156fe77f1f3214b7'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:17:01.490883Z'/>
			<message from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:17:01.596 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='9e8507dd10723b22156fe77f1f3214b7' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234221490883/cm9vbS1hZTMwNmVhMmU2QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234221490883/cm9vbS1hZTMwNmVhMmU2QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:17:01.596 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2023-11-17 15:17:01.596 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='d03e7acb913db9f7f28c0e8b5c08f709'>
	<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 2023-11-17 15:17:01.598 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='1700-234221-597676'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='d03e7acb913db9f7f28c0e8b5c08f709'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:17:01.490817Z'/>
			<message from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:17:01.598 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='d03e7acb913db9f7f28c0e8b5c08f709' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234221490817/cm9vbS1hZTMwNmVhMmU2QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234221490817/cm9vbS1hZTMwNmVhMmU2QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:17:01.598 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:17:01.598 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
<iq type='set' id='22a63a1398148f8b678aac75d22641cd'>
	<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 2023-11-17 15:17:01.599 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='1700-234221-599448'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='22a63a1398148f8b678aac75d22641cd'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:17:01.490931Z'/>
			<message from='room-ae306ea2e6@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1545' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:17:01.600 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1' id='22a63a1398148f8b678aac75d22641cd' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234221490931/cm9vbS1hZTMwNmVhMmU2QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1700234221490931/cm9vbS1hZTMwNmVhMmU2QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:17:01.600 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:17:01.600 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:17:01.600 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:17:01.600 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:17:01.601 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:17:01.601 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:17:01.601 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1545@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:17:01.606 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2168.html



=== Ended at 2023-11-17 15:17:01
=== successfully completed test case
=== === Returned value: ok