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

=== Config value:

    [{watchdog,<0.35897.0>},
     {inbox_opts,#{backend => rdbms_async,iqdisc => no_queue,
                   groupchat => [muc],
                   async_writer => #{pool_size => 1},
                   max_result_limit => infinity,
                   delete_domain_limit => infinity,
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   bin_ttl => 30,bin_clean_after => 3600000}},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@699c7e574a5d.2024-04-26_13.09.59/big_tests.tests.inbox_SUITE.logs/run.2024-04-26_13.16.53/inbox_suite.unread_count_is_the_same_after_going_online_again.104066.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@699c7e574a5d.2024-04-26_13.09.59/big_tests.tests.inbox_SUITE.logs/run.2024-04-26_13.16.53/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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_bosh =>
            #{backend => mnesia,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@699c7e574a5d.2024-04-26_13.09.59"

=== Started at 2024-04-26 13:17:00


*** CT 2024-04-26 13:17:00.085 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1784.html

*** User 2024-04-26 13:17:00.121 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.122 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c529c2cadd876fa1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:17:00.122 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.122 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fMTUwMwBtYXR5Z3J5c2E=</auth>



*** User 2024-04-26 13:17:00.126 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:17:00.126 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.126 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59de621d74f5ebb0' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com'>

*** User 2024-04-26 13:17:00.127 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.127 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='c53c1f0eb98636514254eb9694c95c81'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:17:00.127 ***🔗
alicE_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq id='c53c1f0eb98636514254eb9694c95c81' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:17:00.127 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='b970f7a7fb568161be87dc3a6db8750f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:17:00.129 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='b970f7a7fb568161be87dc3a6db8750f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:17:00.129 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 13:17:00.140 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'/>



*** User 2024-04-26 13:17:00.141 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.141 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='644c874ae757a6f8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:17:00.142 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.142 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzE1MDMAbWFrcm9saWth</auth>



*** User 2024-04-26 13:17:00.145 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:17:00.145 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.146 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='333a4385fbf52bf2' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com'>

*** User 2024-04-26 13:17:00.146 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.146 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='ec946874c58c6c047d21481d4dda8590'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:17:00.146 ***🔗
bOb_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq id='ec946874c58c6c047d21481d4dda8590' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:17:00.146 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='0d263a22b44e3d070a87fc46cbe0a0b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:17:00.147 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='0d263a22b44e3d070a87fc46cbe0a0b0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:17:00.147 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 13:17:00.195 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'/>



*** User 2024-04-26 13:17:00.195 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.196 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7321f521e3c56a59' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:17:00.196 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.196 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl8xNTAzAG1ha3Jvd2U7cA==</auth>



*** User 2024-04-26 13:17:00.197 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:17:00.197 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.197 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2ac916266d798e7' from='domain.example.com' version='1.0' xml:lang='en' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com'>

*** User 2024-04-26 13:17:00.197 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.197 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='1a283efe4093d76a87615ab2da77f7a2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:17:00.198 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq id='1a283efe4093d76a87615ab2da77f7a2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:17:00.198 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='a282d1bbfb3fefb32f91f2d9d3171800'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:17:00.199 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='a282d1bbfb3fefb32f91f2d9d3171800' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:17:00.199 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 13:17:00.205 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'/>



*** User 2024-04-26 13:17:00.206 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<presence to='room-b759de3eff@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1503'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-26 13:17:00.206 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<presence to='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-26 13:17:00.206 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<presence to='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-26 13:17:00.207 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1503' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.209 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='room-b759de3eff@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-26 13:17:00.212 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.215 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.215 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1503' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.215 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.215 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='room-b759de3eff@groupchats.domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-26 13:17:00.215 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.215 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.215 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.216 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.216 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='room-b759de3eff@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-26 13:17:00.216 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='bd742bfcadbd1d0bb9a1cd7ad32b1590' to='room-b759de3eff@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com' affiliation='member'/>
	</query>
</iq>



*** User 2024-04-26 13:17:00.217 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.218 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.220 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq from='room-b759de3eff@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='bd742bfcadbd1d0bb9a1cd7ad32b1590' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2024-04-26 13:17:00.220 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.220 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.220 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.220 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.220 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<presence type='unavailable' to='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503'/>



*** User 2024-04-26 13:17:00.221 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='alice_unread_count_is_the_same_after_going_online_again_1503@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_1503@domain.example.com/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.221 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.221 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.221 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<message type='groupchat' to='room-b759de3eff@groupchats.domain.example.com' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-26 13:17:00.222 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-26 13:17:00.222 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2024-04-26 13:17:00.222 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<presence to='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-26 13:17:00.224 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.224 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.224 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.224 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.224 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<presence from='room-b759de3eff@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-26 13:17:00.225 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T13:17:00Z' from='room-b759de3eff@groupchats.domain.example.com'/>
</message>



*** User 2024-04-26 13:17:00.225 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='room-b759de3eff@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-26 13:17:00.225 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='de04771269a8accecb39d3bbd3cba5e8'>
	<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-26 13:17:00.226 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='de04771269a8accecb39d3bbd3cba5e8' 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-26 13:17:00.327 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='de04771269a8accecb39d3bbd3cba5e8'>
	<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-26 13:17:00.329 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='1714-137420-328727'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='de04771269a8accecb39d3bbd3cba5e8'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T13:17:00.222192Z'/>
			<message from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='bob_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.329 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='de04771269a8accecb39d3bbd3cba5e8' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1714137420222192/cm9vbS1iNzU5ZGUzZWZmQGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1714137420222192/cm9vbS1iNzU5ZGUzZWZmQGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-04-26 13:17:00.329 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-04-26 13:17:00.329 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='4068756c9d0e861f27712c307148cb7f'>
	<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-26 13:17:00.332 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='1714-137420-331512'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='4068756c9d0e861f27712c307148cb7f'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T13:17:00.222145Z'/>
			<message from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='alice_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.332 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='4068756c9d0e861f27712c307148cb7f' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1714137420222145/cm9vbS1iNzU5ZGUzZWZmQGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1714137420222145/cm9vbS1iNzU5ZGUzZWZmQGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-26 13:17:00.332 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-04-26 13:17:00.332 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
<iq type='set' id='11ec7c4cf023188332ff0f5ab19544eb'>
	<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-26 13:17:00.335 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='1714-137420-334718'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='11ec7c4cf023188332ff0f5ab19544eb'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T13:17:00.222234Z'/>
			<message from='room-b759de3eff@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_1503' to='kate_unread_count_is_the_same_after_going_online_again_1503@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-26 13:17:00.335 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1' id='11ec7c4cf023188332ff0f5ab19544eb' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1714137420222234/cm9vbS1iNzU5ZGUzZWZmQGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</first>
			<last>1714137420222234/cm9vbS1iNzU5ZGUzZWZmQGdyb3VwY2hhdHMuZG9tYWluLmV4YW1wbGUuY29t</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-26 13:17:00.335 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-04-26 13:17:00.335 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 13:17:00.336 ***🔗
kate_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-26 13:17:00.336 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 13:17:00.336 ***🔗
bob_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-26 13:17:00.336 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 13:17:00.336 ***🔗
alice_unread_count_is_the_same_after_going_online_again_1503@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-26 13:17:00.341 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1784.html



=== Ended at 2024-04-26 13:17:00
=== successfully completed test case
=== === Returned value: ok