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

=== Config value:

    [{watchdog,<0.35752.0>},
     {inbox_opts,#{backend => rdbms_async,
                   groupchat => [muc],
                   async_writer => #{pool_size => 1},
                   max_result_limit => infinity,
                   delete_domain_limit => infinity,iqdisc => no_queue,
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   bin_ttl => 30,bin_clean_after => 3600000}},
     {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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.inbox_SUITE.logs/run.2024-03-11_09.12.44/inbox_suite.unread_count_is_the_same_after_going_online_again.55555.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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.inbox_SUITE.logs/run.2024-03-11_09.12.44/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_amp => #{},
        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_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_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        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_amp => #{},
        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_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_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        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@fe524ba9ae35.2024-03-11_09.05.30"

=== Started at 2024-03-11 09:12:49


*** CT 2024-03-11 09:12:49.620 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1779.html

*** User 2024-03-11 09:12:49.633 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.634 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='02cb91060ba72297' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 09:12:49.634 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.634 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fMTUzNABtYXR5Z3J5c2E=</auth>



*** User 2024-03-11 09:12:49.635 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 09:12:49.635 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.635 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dccda530dd56f7a7' from='localhost' version='1.0' xml:lang='en' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost'>

*** User 2024-03-11 09:12:49.635 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.636 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='9e832ea631a2dda3cb5951cffa044b79'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 09:12:49.636 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq id='9e832ea631a2dda3cb5951cffa044b79' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 09:12:49.636 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='4c5e7bbd75cc525906b51c6a383beeae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:12:49.637 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq from='localhost' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='4c5e7bbd75cc525906b51c6a383beeae' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:12:49.637 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<presence/>



*** User 2024-03-11 09:12:49.643 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'/>



*** User 2024-03-11 09:12:49.668 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.668 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d210fe0e48818037' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 09:12:49.668 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.668 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzE1MzQAbWFrcm9saWth</auth>



*** User 2024-03-11 09:12:49.670 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 09:12:49.670 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.670 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f7293140c82a065' from='localhost' version='1.0' xml:lang='en' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost'>

*** User 2024-03-11 09:12:49.670 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.670 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='523e85efaba5bf55a93bebd943dcd2d2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 09:12:49.671 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq id='523e85efaba5bf55a93bebd943dcd2d2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 09:12:49.671 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='72a2347faf3bf1de71395f03ea5665cc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:12:49.672 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq from='localhost' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='72a2347faf3bf1de71395f03ea5665cc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:12:49.673 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<presence/>



*** User 2024-03-11 09:12:49.682 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'/>



*** User 2024-03-11 09:12:49.683 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.683 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef59556068908ede' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 09:12:49.683 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.683 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl8xNTM0AG1ha3Jvd2U7cA==</auth>



*** User 2024-03-11 09:12:49.685 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 09:12:49.685 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.685 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f690c0ea92e6ba9' from='localhost' version='1.0' xml:lang='en' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost'>

*** User 2024-03-11 09:12:49.685 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.685 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='b0423582063457908a92cd093ea7f036'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 09:12:49.686 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq id='b0423582063457908a92cd093ea7f036' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 09:12:49.686 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='24746f6a6032da2ecebb209dffff37a2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:12:49.686 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq from='localhost' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='24746f6a6032da2ecebb209dffff37a2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:12:49.686 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<presence/>



*** User 2024-03-11 09:12:49.695 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'/>



*** User 2024-03-11 09:12:49.696 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<presence to='room-09dedfb275@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1534'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-11 09:12:49.696 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<presence to='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-11 09:12:49.697 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<presence to='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-11 09:12:49.698 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1534' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.699 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='room-09dedfb275@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-11 09:12:49.700 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.702 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.702 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1534' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.702 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.702 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.703 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='room-09dedfb275@muc.localhost' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-11 09:12:49.703 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.703 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.703 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='room-09dedfb275@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-11 09:12:49.703 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.704 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='7204fc9b36abc1ba05f45709a1677981' to='room-09dedfb275@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1534@localhost' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1534@localhost' affiliation='member'/>
	</query>
</iq>



*** User 2024-03-11 09:12:49.705 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.706 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.706 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq from='room-09dedfb275@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='7204fc9b36abc1ba05f45709a1677981' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2024-03-11 09:12:49.706 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.706 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.706 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.706 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.706 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<presence type='unavailable' to='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534'/>



*** User 2024-03-11 09:12:49.707 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.707 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.707 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.707 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<message type='groupchat' to='room-09dedfb275@muc.localhost' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-03-11 09:12:49.708 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-03-11 09:12:49.708 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-03-11 09:12:49.708 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<presence to='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-11 09:12:49.710 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.711 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.711 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.711 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.711 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<presence from='room-09dedfb275@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-11 09:12:49.711 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T09:12:49Z' from='room-09dedfb275@muc.localhost'/>
</message>



*** User 2024-03-11 09:12:49.711 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='room-09dedfb275@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-11 09:12:49.711 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='60e9812c3cb8b7d38b4e0d09069bbacb'>
	<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-11 09:12:49.714 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_1534@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='1710-148369-714177'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='60e9812c3cb8b7d38b4e0d09069bbacb'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T09:12:49.708165Z'/>
			<message from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='bob_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.714 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1534@localhost' to='bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='60e9812c3cb8b7d38b4e0d09069bbacb' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1710148369708165/cm9vbS0wOWRlZGZiMjc1QG11Yy5sb2NhbGhvc3Q=</first>
			<last>1710148369708165/cm9vbS0wOWRlZGZiMjc1QG11Yy5sb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-03-11 09:12:49.714 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-03-11 09:12:49.715 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='bb8aeaecb892435e974218828ab71596'>
	<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-11 09:12:49.768 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_1534@localhost' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='1710-148369-768593'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='bb8aeaecb892435e974218828ab71596'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T09:12:49.708132Z'/>
			<message from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='alice_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.769 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_1534@localhost' to='alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='bb8aeaecb892435e974218828ab71596' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1710148369708132/cm9vbS0wOWRlZGZiMjc1QG11Yy5sb2NhbGhvc3Q=</first>
			<last>1710148369708132/cm9vbS0wOWRlZGZiMjc1QG11Yy5sb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-03-11 09:12:49.769 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-03-11 09:12:49.769 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
<iq type='set' id='8b6ac81fe03cbad5754b6f1aa6fe46eb'>
	<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-11 09:12:49.771 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_1534@localhost' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='1710-148369-771547'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='8b6ac81fe03cbad5754b6f1aa6fe46eb'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T09:12:49.708201Z'/>
			<message from='room-09dedfb275@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_1534' to='kate_unread_count_is_the_same_after_going_online_again_1534@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-11 09:12:49.771 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_1534@localhost' to='kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1' id='8b6ac81fe03cbad5754b6f1aa6fe46eb' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1710148369708201/cm9vbS0wOWRlZGZiMjc1QG11Yy5sb2NhbGhvc3Q=</first>
			<last>1710148369708201/cm9vbS0wOWRlZGZiMjc1QG11Yy5sb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-03-11 09:12:49.772 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-03-11 09:12:49.772 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
</stream:stream>

*** User 2024-03-11 09:12:49.772 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
</stream:stream>

*** User 2024-03-11 09:12:49.772 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
</stream:stream>

*** User 2024-03-11 09:12:49.773 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
</stream:stream>

*** User 2024-03-11 09:12:49.773 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 out
</stream:stream>

*** User 2024-03-11 09:12:49.773 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1534@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 09:12:49.775 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1779.html



=== Ended at 2024-03-11 09:12:49
=== successfully completed test case
=== === Returned value: ok