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

=== Config value:

    [{watchdog,<0.36549.0>},
     {inbox_opts,#{iqdisc => no_queue,delete_domain_limit => infinity,
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   max_result_limit => infinity,backend => rdbms_async,
                   async_writer => #{pool_size => 1},
                   groupchat => [muc],
                   bin_ttl => 30,bin_clean_after => 3600000}},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@71655937ce6e.2024-04-16_11.59.01/big_tests.tests.inbox_SUITE.logs/run.2024-04-16_12.07.15/inbox_suite.unread_count_is_the_same_after_going_online_again.95618.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@71655937ce6e.2024-04-16_11.59.01/big_tests.tests.inbox_SUITE.logs/run.2024-04-16_12.07.15/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_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,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              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 =>
            #{inactivity => 30,max_pause => 120,max_wait => infinity,
              server_acks => false,backend => mnesia},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@71655937ce6e.2024-04-16_11.59.01"

=== Started at 2024-04-16 12:07:21


*** CT 2024-04-16 12:07:21.722 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2066.html

*** User 2024-04-16 12:07:21.753 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 12:07:21.754 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82718118d21e67ca' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:07:21.754 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 12:07:21.754 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fMTU3NwBtYXR5Z3J5c2E=</auth>



*** User 2024-04-16 12:07:21.755 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:07:21.755 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 12:07:21.755 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c8529d5429e403c' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com'>

*** User 2024-04-16 12:07:21.755 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 12:07:21.755 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='45a76de23f66d1981c97cb7c08250fd7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:07:21.755 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq id='45a76de23f66d1981c97cb7c08250fd7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:07:21.755 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='13af1e6859862a10bb205182116a6866'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:07:21.756 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='13af1e6859862a10bb205182116a6866' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:07:21.756 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:07:21.758 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'/>



*** User 2024-04-16 12:07:21.759 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 12:07:21.759 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09d573a82a31814f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:07:21.759 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 12:07:21.759 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzE1NzcAbWFrcm9saWth</auth>



*** User 2024-04-16 12:07:21.760 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:07:21.760 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 12:07:21.760 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f13dafa4349a8b68' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com'>

*** User 2024-04-16 12:07:21.761 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 12:07:21.761 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='ee3bbded859f6f9b2ce16cb6b7dae48c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:07:21.761 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq id='ee3bbded859f6f9b2ce16cb6b7dae48c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:07:21.761 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='cb224d3237ad211eeeffd2c148f495a8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:07:21.761 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='cb224d3237ad211eeeffd2c148f495a8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:07:21.762 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:07:21.763 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'/>



*** User 2024-04-16 12:07:21.781 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 12:07:21.781 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de063a2a354179dd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:07:21.781 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 12:07:21.781 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl8xNTc3AG1ha3Jvd2U7cA==</auth>



*** User 2024-04-16 12:07:21.782 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:07:21.782 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 12:07:21.783 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e58cf2b5dd003de7' from='domain.example.com' version='1.0' xml:lang='en' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com'>

*** User 2024-04-16 12:07:21.783 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 12:07:21.783 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='3367a7cea19ec9ff82c8ce9d6b0605e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:07:21.783 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq id='3367a7cea19ec9ff82c8ce9d6b0605e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:07:21.783 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='a9f8ef641d4518c267cca4e25d31ae18'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:07:21.784 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='a9f8ef641d4518c267cca4e25d31ae18' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:07:21.784 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:07:21.786 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'/>



*** User 2024-04-16 12:07:21.787 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<presence to='room-e77c4bc797@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1577'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 12:07:21.787 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<presence to='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 12:07:21.787 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<presence to='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 12:07:21.790 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.791 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1577' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.791 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='room-e77c4bc797@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 12:07:21.792 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.792 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1577' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.792 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.792 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.793 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='room-e77c4bc797@groupchats.domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 12:07:21.793 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.793 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='room-e77c4bc797@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 12:07:21.793 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.793 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.793 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='2164ce80b7d94609358f0e7d03e69846' to='room-e77c4bc797@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' affiliation='member'/>
	</query>
</iq>



*** User 2024-04-16 12:07:21.794 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.794 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.794 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq from='room-e77c4bc797@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='2164ce80b7d94609358f0e7d03e69846' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2024-04-16 12:07:21.794 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.794 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.794 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.794 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.795 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<presence type='unavailable' to='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577'/>



*** User 2024-04-16 12:07:21.795 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.795 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.795 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.795 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<message type='groupchat' to='room-e77c4bc797@groupchats.domain.example.com' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-16 12:07:21.796 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-16 12:07:21.797 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-16 12:07:21.797 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<presence to='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 12:07:21.798 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.798 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.798 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.798 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.798 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<presence from='room-e77c4bc797@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-16 12:07:21.798 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T12:07:21Z' from='room-e77c4bc797@groupchats.domain.example.com'/>
</message>



*** User 2024-04-16 12:07:21.798 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='room-e77c4bc797@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 12:07:21.798 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='a22309d3a9b967e69eb344e29592add7'>
	<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-16 12:07:21.799 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='a22309d3a9b967e69eb344e29592add7' 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-16 12:07:21.901 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='a22309d3a9b967e69eb344e29592add7'>
	<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-16 12:07:21.902 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='1713-269241-902156'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='a22309d3a9b967e69eb344e29592add7'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T12:07:21.796377Z'/>
			<message from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-04-16 12:07:21.902 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='a22309d3a9b967e69eb344e29592add7' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1713269241796377/cm9vbS1lNzdjNGJjNzk3QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1713269241796377/cm9vbS1lNzdjNGJjNzk3QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-04-16 12:07:21.902 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-04-16 12:07:21.902 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='1bb9b6c7c88c245ac97f557961de3c1e'>
	<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-16 12:07:21.904 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='1713-269241-903693'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='1bb9b6c7c88c245ac97f557961de3c1e'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T12:07:21.796326Z'/>
			<message from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-04-16 12:07:21.904 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='1bb9b6c7c88c245ac97f557961de3c1e' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1713269241796326/cm9vbS1lNzdjNGJjNzk3QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1713269241796326/cm9vbS1lNzdjNGJjNzk3QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-16 12:07:21.904 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-04-16 12:07:21.904 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
<iq type='set' id='193448a79e6cbded455236c115fe69ee'>
	<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-16 12:07:21.905 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='1713-269241-905247'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='193448a79e6cbded455236c115fe69ee'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T12:07:21.796431Z'/>
			<message from='room-e77c4bc797@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1577' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-04-16 12:07:21.905 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1' id='193448a79e6cbded455236c115fe69ee' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1713269241796431/cm9vbS1lNzdjNGJjNzk3QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1713269241796431/cm9vbS1lNzdjNGJjNzk3QGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-16 12:07:21.905 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-04-16 12:07:21.905 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:07:21.906 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 12:07:21.906 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:07:21.906 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 12:07:21.906 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:07:21.906 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1577@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 12:07:21.909 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2066.html



=== Ended at 2024-04-16 12:07:21
=== successfully completed test case
=== === Returned value: ok