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

=== Config value:

    [{watchdog,<0.36707.0>},
     {inbox_opts,#{reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   backend => rdbms_async,
                   groupchat => [muc],
                   iqdisc => no_queue,max_result_limit => infinity,
                   delete_domain_limit => infinity,bin_ttl => 30,
                   bin_clean_after => 3600000,
                   async_writer => #{pool_size => 1}}},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f9d3eab3b59f.2024-04-22_17.28.49/big_tests.tests.inbox_SUITE.logs/run.2024-04-22_17.35.39/inbox_suite.unread_count_is_the_same_after_going_online_again.87042.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@f9d3eab3b59f.2024-04-22_17.28.49/big_tests.tests.inbox_SUITE.logs/run.2024-04-22_17.35.39/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{server_info => [],iqdisc => one_queue,extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{inactivity => 30,max_pause => 120,max_wait => infinity,
              server_acks => false,backend => cets},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{server_info => [],iqdisc => one_queue,extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{inactivity => 30,max_pause => 120,max_wait => infinity,
              server_acks => false,backend => cets},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f9d3eab3b59f.2024-04-22_17.28.49"

=== Started at 2024-04-22 17:35:44


*** CT 2024-04-22 17:35:44.609 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2753.html

*** User 2024-04-22 17:35:44.655 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-22 17:35:44.655 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c60964caea9f79f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:35:44.656 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/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 2024-04-22 17:35:44.656 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fMTUyMwBtYXR5Z3J5c2E=</auth>



*** User 2024-04-22 17:35:44.657 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:35:44.657 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-22 17:35:44.658 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c81cad5fd4e0d51a' from='localhost' version='1.0' xml:lang='en' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost'>

*** User 2024-04-22 17:35:44.658 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/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 2024-04-22 17:35:44.658 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='931f52d6b39a59bb7718143814a4d6a5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:35:44.659 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq id='931f52d6b39a59bb7718143814a4d6a5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:35:44.659 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='37f70204cf808faa970125f8daeb3189'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:35:44.660 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq from='localhost' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='37f70204cf808faa970125f8daeb3189' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:35:44.660 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<presence/>



*** User 2024-04-22 17:35:44.667 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'/>



*** User 2024-04-22 17:35:44.667 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-22 17:35:44.668 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c6b03d9297d0f81' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:35:44.668 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/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 2024-04-22 17:35:44.668 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzE1MjMAbWFrcm9saWth</auth>



*** User 2024-04-22 17:35:44.669 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:35:44.669 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-22 17:35:44.670 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d34a870294cb9b7' from='localhost' version='1.0' xml:lang='en' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost'>

*** User 2024-04-22 17:35:44.670 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/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 2024-04-22 17:35:44.670 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='a5e441feb4f7aec6b7712623c8fb83b0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:35:44.670 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq id='a5e441feb4f7aec6b7712623c8fb83b0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:35:44.670 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='b1e8d27bae377bb255aa6e67ca274eb1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:35:44.671 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq from='localhost' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='b1e8d27bae377bb255aa6e67ca274eb1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:35:44.671 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<presence/>



*** User 2024-04-22 17:35:44.679 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'/>



*** User 2024-04-22 17:35:44.679 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-22 17:35:44.680 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66f77c5c14cebc48' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:35:44.680 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/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 2024-04-22 17:35:44.680 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl8xNTIzAG1ha3Jvd2U7cA==</auth>



*** User 2024-04-22 17:35:44.682 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:35:44.682 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-22 17:35:44.682 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='34d913ffb80e3f39' from='localhost' version='1.0' xml:lang='en' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost'>

*** User 2024-04-22 17:35:44.682 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/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 2024-04-22 17:35:44.683 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='89e1d99070ccd0438d1ddce9b4803587'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:35:44.683 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq id='89e1d99070ccd0438d1ddce9b4803587' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:35:44.683 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='49b371abab5f5d7dd8d1d22d0a1e949b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:35:44.684 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq from='localhost' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='49b371abab5f5d7dd8d1d22d0a1e949b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:35:44.684 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<presence/>



*** User 2024-04-22 17:35:44.692 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'/>



*** User 2024-04-22 17:35:44.693 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<presence to='room-1cd8d3f932@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1523'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-22 17:35:44.693 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<presence to='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-22 17:35:44.693 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<presence to='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-22 17:35:44.695 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1523' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.696 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='room-1cd8d3f932@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-22 17:35:44.698 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.701 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.701 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1523' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.701 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.701 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='room-1cd8d3f932@muc.localhost' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-22 17:35:44.701 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.701 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.701 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.701 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.702 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='room-1cd8d3f932@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-22 17:35:44.702 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='d542a873aae43f56a1743da22c8f4a73' to='room-1cd8d3f932@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1523@localhost' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1523@localhost' affiliation='member'/>
	</query>
</iq>



*** User 2024-04-22 17:35:44.703 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.704 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.704 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq from='room-1cd8d3f932@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='d542a873aae43f56a1743da22c8f4a73' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2024-04-22 17:35:44.704 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.704 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.704 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.704 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.704 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<presence type='unavailable' to='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523'/>



*** User 2024-04-22 17:35:44.705 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.705 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.705 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.705 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<message type='groupchat' to='room-1cd8d3f932@muc.localhost' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-22 17:35:44.706 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-22 17:35:44.706 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-22 17:35:44.706 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<presence to='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-22 17:35:44.756 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.756 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.756 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.756 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.756 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<presence from='room-1cd8d3f932@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-22 17:35:44.756 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T17:35:44Z' from='room-1cd8d3f932@muc.localhost'/>
</message>



*** User 2024-04-22 17:35:44.756 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='room-1cd8d3f932@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-22 17:35:44.756 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='822048c94827785d9d8af5a85af06ab5'>
	<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 2024-04-22 17:35:44.759 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1523@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='822048c94827785d9d8af5a85af06ab5' 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 2024-04-22 17:35:44.860 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='822048c94827785d9d8af5a85af06ab5'>
	<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 2024-04-22 17:35:44.861 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_1523@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='1713-807344-861225'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='822048c94827785d9d8af5a85af06ab5'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T17:35:44.705981Z'/>
			<message from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost' 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 2024-04-22 17:35:44.861 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1523@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='822048c94827785d9d8af5a85af06ab5' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1713807344705981/cm9vbS0xY2Q4ZDNmOTMyQG11Yy5sb2NhbGhvc3Q=</first>
			<last>1713807344705981/cm9vbS0xY2Q4ZDNmOTMyQG11Yy5sb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-04-22 17:35:44.861 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-04-22 17:35:44.862 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='9367e6318f7bbf6f71a4e19861c1b99f'>
	<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 2024-04-22 17:35:44.863 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_1523@localhost' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='1713-807344-862890'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='9367e6318f7bbf6f71a4e19861c1b99f'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T17:35:44.705932Z'/>
			<message from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost' 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 2024-04-22 17:35:44.863 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_1523@localhost' to='alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='9367e6318f7bbf6f71a4e19861c1b99f' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1713807344705932/cm9vbS0xY2Q4ZDNmOTMyQG11Yy5sb2NhbGhvc3Q=</first>
			<last>1713807344705932/cm9vbS0xY2Q4ZDNmOTMyQG11Yy5sb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-22 17:35:44.863 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-04-22 17:35:44.863 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
<iq type='set' id='41ae8d23fefa160e3c2a437ec2fc8bf3'>
	<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 2024-04-22 17:35:44.864 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_1523@localhost' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='1713-807344-864430'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='41ae8d23fefa160e3c2a437ec2fc8bf3'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T17:35:44.706037Z'/>
			<message from='room-1cd8d3f932@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1523' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost' 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 2024-04-22 17:35:44.864 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_1523@localhost' to='kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1' id='41ae8d23fefa160e3c2a437ec2fc8bf3' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1713807344706037/cm9vbS0xY2Q4ZDNmOTMyQG11Yy5sb2NhbGhvc3Q=</first>
			<last>1713807344706037/cm9vbS0xY2Q4ZDNmOTMyQG11Yy5sb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-22 17:35:44.864 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-04-22 17:35:44.865 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:35:44.865 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
</stream:stream>

*** User 2024-04-22 17:35:44.865 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:35:44.865 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
</stream:stream>

*** User 2024-04-22 17:35:44.865 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:35:44.865 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1523@localhost/res1 in
</stream:stream>
*** CT 2024-04-22 17:35:44.867 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2753.html



=== Ended at 2024-04-22 17:35:44
=== successfully completed test case
=== === Returned value: ok