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

=== Config value:

    [{watchdog,<0.25184.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 8},
                   backend => rdbms,bin_clean_after => 3600000,bin_ttl => 30,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   groupchat => [muc],
                   iqdisc => no_queue,remove_on_kicked => true,
                   reset_markers => [<<"displayed">>]}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.inbox_SUITE.logs/run.2022-05-25_10.40.58/inbox_suite.unread_count_is_the_same_after_going_online_again.43778.html"},
     {tc_group_properties,[{name,muc},parallel]},
     {tc_group_path,[[{name,regular}]]},
     {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@6949c6250523.2022-05-25_10.37.44/big_tests.tests.inbox_SUITE.logs/run.2022-05-25_10.40.58/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44"

=== Started at 2022-05-25 10:41:02


*** CT 2022-05-25 10:41:02.236 *** View log from node mongooseim@localhost when started mongooseim@localhost_1655.html
*** CT 2022-05-25 10:41:02.237 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_402.html

*** User 2022-05-25 10:41:02.246 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:02.247 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a1c3c2a87fd19efe' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:02.247 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:02.247 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fOTQ4AG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 10:41:02.248 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:41:02.248 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:02.248 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='735fb8063f1ead29' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:02.248 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:02.248 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='819c17f930aa8fd8f141c6ae679bd5d4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:41:02.248 ***
alicE_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq id='819c17f930aa8fd8f141c6ae679bd5d4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:41:02.248 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='9a34ce841fc5489e8f3c63f9411853d4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:02.249 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq type='result' id='9a34ce841fc5489e8f3c63f9411853d4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:02.249 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<presence/>



*** User 2022-05-25 10:41:02.250 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:41:02.251 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:02.251 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2102d924a5c390b8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:02.251 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:02.251 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzk0OABtYWtyb2xpa2E=</auth>



*** User 2022-05-25 10:41:02.252 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:41:02.252 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:02.252 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d299beeb3890cc7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:02.252 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:02.252 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='c20608d62833a09610faa49608393cb4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:41:02.252 ***
bOb_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq id='c20608d62833a09610faa49608393cb4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:41:02.252 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='7fbe659d1c4d2a216515433511624fd0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:02.253 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq type='result' id='7fbe659d1c4d2a216515433511624fd0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:02.253 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<presence/>



*** User 2022-05-25 10:41:02.254 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:41:02.254 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:02.255 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db0909c1bd924a9e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:02.255 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:02.255 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl85NDgAbWFrcm93ZTtw</auth>



*** User 2022-05-25 10:41:02.256 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:41:02.256 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:41:02.256 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d4e9c63822c525d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:41:02.256 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:41:02.256 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='3ca8b71b7ba3ca622c706a6a068f98b6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:41:02.256 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq id='3ca8b71b7ba3ca622c706a6a068f98b6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:41:02.256 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='db4096a177d7c20c999ae70687ebb3a6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:02.257 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq type='result' id='db4096a177d7c20c999ae70687ebb3a6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:41:02.257 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<presence/>



*** User 2022-05-25 10:41:02.258 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:41:02.259 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<presence to='room-ae57001f06@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_948'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 10:41:02.259 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<presence to='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 10:41:02.259 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<presence to='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 10:41:02.260 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_948' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.261 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='room-ae57001f06@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 10:41:02.262 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.264 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.264 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_948' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.264 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.264 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='room-ae57001f06@muc.localhost' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 10:41:02.264 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.264 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.264 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.264 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.265 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='room-ae57001f06@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 10:41:02.265 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='12b2c1b44a7bf05f13bbda4e20fb8018' to='room-ae57001f06@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_948@localhost' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_948@localhost' affiliation='member'/>
	</query>
</iq>



*** User 2022-05-25 10:41:02.266 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.266 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.266 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq from='room-ae57001f06@muc.localhost' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' id='12b2c1b44a7bf05f13bbda4e20fb8018' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-25 10:41:02.266 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.266 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.266 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.266 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.266 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<presence type='unavailable' to='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948'/>



*** User 2022-05-25 10:41:02.267 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.267 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.267 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.267 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<message to='room-ae57001f06@muc.localhost' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 10:41:02.269 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 10:41:02.270 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 10:41:02.270 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<presence to='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 10:41:02.271 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.271 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.271 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/alice_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.271 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.271 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<presence from='room-ae57001f06@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 10:41:02.271 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:41:02Z' from='room-ae57001f06@muc.localhost'/>
</message>



*** User 2022-05-25 10:41:02.271 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='room-ae57001f06@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 10:41:02.271 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='ba548926176fd9a14fc0df65cc6368c7'>
	<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 2022-05-25 10:41:02.272 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_948@localhost' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' id='1653-475262-272607'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='ba548926176fd9a14fc0df65cc6368c7'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:41:02.268618Z'/>
			<message from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-25 10:41:02.272 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_948@localhost' to='bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1' id='ba548926176fd9a14fc0df65cc6368c7' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-05-25 10:41:02.273 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='c0342ef17e0830c927c72f98422a198c'>
	<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 2022-05-25 10:41:02.274 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_948@localhost' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' id='1653-475262-273896'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='c0342ef17e0830c927c72f98422a198c'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:41:02.268140Z'/>
			<message from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-25 10:41:02.274 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_948@localhost' to='alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1' id='c0342ef17e0830c927c72f98422a198c' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-05-25 10:41:02.274 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
<iq type='set' id='6dcaa4e9a29be4fda96bc490f18fe09e'>
	<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 2022-05-25 10:41:02.275 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_948@localhost' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' id='1653-475262-274989'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='6dcaa4e9a29be4fda96bc490f18fe09e'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:41:02.269062Z'/>
			<message from='room-ae57001f06@muc.localhost/bob_unread_count_is_the_same_after_going_online_again_948' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-25 10:41:02.275 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_948@localhost' to='kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1' id='6dcaa4e9a29be4fda96bc490f18fe09e' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-05-25 10:41:02.275 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:41:02.275 ***
kate_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:41:02.275 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:41:02.276 ***
bob_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:41:02.276 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:41:02.276 ***
alice_unread_count_is_the_same_after_going_online_again_948@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:41:02.283 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_402.html
*** CT 2022-05-25 10:41:02.283 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1655.html



=== Ended at 2022-05-25 10:41:02
=== successfully completed test case
=== === Returned value: ok