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

=== Config value:

    [{watchdog,<0.36559.0>},
     {inbox_opts,#{max_result_limit => infinity,
                   groupchat => [muc],
                   iqdisc => no_queue,backend => rdbms_async,
                   delete_domain_limit => infinity,
                   async_writer => #{pool_size => 1},
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   bin_ttl => 30,bin_clean_after => 3600000,
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true}},
     {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@e06ff82a20fb.2024-03-21_07.45.38/big_tests.tests.inbox_SUITE.logs/run.2024-03-21_07.53.21/inbox_suite.unread_count_is_the_same_after_going_online_again.56067.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@e06ff82a20fb.2024-03-21_07.45.38/big_tests.tests.inbox_SUITE.logs/run.2024-03-21_07.53.21/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e06ff82a20fb.2024-03-21_07.45.38"

=== Started at 2024-03-21 07:53:28


*** CT 2024-03-21 07:53:28.431 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2757.html

*** User 2024-03-21 07:53:28.470 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.471 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='298b8651b168a623' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:53:28.471 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.471 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fMTU1NwBtYXR5Z3J5c2E=</auth>



*** User 2024-03-21 07:53:28.479 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:53:28.479 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.480 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e21c8ed7fef76a00' from='localhost' version='1.0' xml:lang='en' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost'>

*** User 2024-03-21 07:53:28.480 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.481 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='031c49e22dd524b8a59d41e815724ba9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:53:28.482 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq id='031c49e22dd524b8a59d41e815724ba9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:53:28.482 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='eb4f098a17aef34d6206423a05d9f574'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:28.483 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq from='localhost' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='eb4f098a17aef34d6206423a05d9f574' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:28.483 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<presence/>



*** User 2024-03-21 07:53:28.495 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'/>



*** User 2024-03-21 07:53:28.496 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.497 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39e038ae9e151100' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:53:28.497 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.497 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzE1NTcAbWFrcm9saWth</auth>



*** User 2024-03-21 07:53:28.499 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:53:28.499 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.500 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e521089cd61f26c' from='localhost' version='1.0' xml:lang='en' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost'>

*** User 2024-03-21 07:53:28.500 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.500 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='a6a2f94dad8adb32bcac8a7068d56726'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:53:28.501 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq id='a6a2f94dad8adb32bcac8a7068d56726' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:53:28.501 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='5e1f34998269719dcb9c321ec82aa53d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:28.502 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq from='localhost' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='5e1f34998269719dcb9c321ec82aa53d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:28.503 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<presence/>



*** User 2024-03-21 07:53:28.521 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'/>



*** User 2024-03-21 07:53:28.522 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.523 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b72bd6b7e45d40bb' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:53:28.523 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.524 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl8xNTU3AG1ha3Jvd2U7cA==</auth>



*** User 2024-03-21 07:53:28.560 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:53:28.560 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.561 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83e735cac441940c' from='localhost' version='1.0' xml:lang='en' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost'>

*** User 2024-03-21 07:53:28.561 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.561 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='0273297f80bb5472ccce35456692c452'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:53:28.562 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq id='0273297f80bb5472ccce35456692c452' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:53:28.562 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='d0655acf77e5b6aa2fd4baf7a160d729'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:28.563 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq from='localhost' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='d0655acf77e5b6aa2fd4baf7a160d729' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:28.563 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<presence/>



*** User 2024-03-21 07:53:28.574 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'/>



*** User 2024-03-21 07:53:28.576 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<presence to='room-c1da83bf1c@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1557'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-21 07:53:28.576 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<presence to='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-21 07:53:28.577 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<presence to='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-21 07:53:28.579 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1557' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.580 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='room-c1da83bf1c@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-21 07:53:28.581 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.584 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.584 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1557' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.584 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.584 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='room-c1da83bf1c@muc.localhost' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-21 07:53:28.584 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.585 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.585 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.585 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.585 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='room-c1da83bf1c@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-21 07:53:28.586 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='4c67dfe7f3076b4dab1c72f348479cf1' to='room-c1da83bf1c@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1557@localhost' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1557@localhost' affiliation='member'/>
	</query>
</iq>



*** User 2024-03-21 07:53:28.587 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.587 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.587 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq from='room-c1da83bf1c@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='4c67dfe7f3076b4dab1c72f348479cf1' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2024-03-21 07:53:28.587 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.587 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.588 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.588 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.588 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<presence type='unavailable' to='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557'/>



*** User 2024-03-21 07:53:28.589 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.589 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.589 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.589 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<message type='groupchat' to='room-c1da83bf1c@muc.localhost' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-03-21 07:53:28.590 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-03-21 07:53:28.590 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-03-21 07:53:28.590 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<presence to='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-21 07:53:28.592 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.593 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.593 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.593 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.593 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<presence from='room-c1da83bf1c@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-21 07:53:28.593 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-21T07:53:28Z' from='room-c1da83bf1c@muc.localhost'/>
</message>



*** User 2024-03-21 07:53:28.593 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='room-c1da83bf1c@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-21 07:53:28.593 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='2a85a817956288672fb2adce22d7bacc'>
	<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-03-21 07:53:28.594 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1557@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='2a85a817956288672fb2adce22d7bacc' 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-03-21 07:53:28.695 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='2a85a817956288672fb2adce22d7bacc'>
	<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-03-21 07:53:28.696 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_1557@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='1711-7608-696167'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='2a85a817956288672fb2adce22d7bacc'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-21T07:53:28.590174Z'/>
			<message from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='bob_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.696 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1557@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='2a85a817956288672fb2adce22d7bacc' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1711007608590174/cm9vbS1jMWRhODNiZjFjQG11Yy5sb2NhbGhvc3Q=</first>
			<last>1711007608590174/cm9vbS1jMWRhODNiZjFjQG11Yy5sb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-03-21 07:53:28.697 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-03-21 07:53:28.697 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='dcb0afbf77405d90134d2c271d17c08d'>
	<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-03-21 07:53:28.698 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_1557@localhost' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='1711-7608-698408'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='dcb0afbf77405d90134d2c271d17c08d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-21T07:53:28.590128Z'/>
			<message from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='alice_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.698 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_1557@localhost' to='alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='dcb0afbf77405d90134d2c271d17c08d' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1711007608590128/cm9vbS1jMWRhODNiZjFjQG11Yy5sb2NhbGhvc3Q=</first>
			<last>1711007608590128/cm9vbS1jMWRhODNiZjFjQG11Yy5sb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-03-21 07:53:28.699 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-03-21 07:53:28.699 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
<iq type='set' id='0426987a7e551eef44ebf826bac547d2'>
	<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-03-21 07:53:28.701 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_1557@localhost' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='1711-7608-700889'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='0426987a7e551eef44ebf826bac547d2'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-21T07:53:28.590213Z'/>
			<message from='room-c1da83bf1c@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1557' to='kate_unread_count_is_the_same_after_going_online_again_1557@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-03-21 07:53:28.701 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_1557@localhost' to='kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1' id='0426987a7e551eef44ebf826bac547d2' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1711007608590213/cm9vbS1jMWRhODNiZjFjQG11Yy5sb2NhbGhvc3Q=</first>
			<last>1711007608590213/cm9vbS1jMWRhODNiZjFjQG11Yy5sb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-03-21 07:53:28.701 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-03-21 07:53:28.702 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:53:28.702 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
</stream:stream>

*** User 2024-03-21 07:53:28.703 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:53:28.703 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
</stream:stream>

*** User 2024-03-21 07:53:28.704 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:53:28.704 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1557@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 07:53:28.711 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2757.html



=== Ended at 2024-03-21 07:53:28
=== successfully completed test case
=== === Returned value: ok