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

=== Config value:

    [{watchdog,<0.20968.0>},
     {inbox_opts,[{aff_changes,true},
                  {remove_on_kicked,true},
                  {groupchat,[muc]},
                  {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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.26/inbox_suite.unread_count_is_the_same_after_going_online_again.39682.html"},
     {tc_group_properties,[{name,muc},parallel]},
     {tc_group_path,[]},
     {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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.26/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{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"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:19:31


*** CT 2022-03-04 11:19:31.197 *** View log from node mongooseim@localhost when started mongooseim@localhost_938.html
*** CT 2022-03-04 11:19:31.198 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-03-04 11:19:31.236 ***
alicE_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.239 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='766ccc6d9b0ef608' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.239 ***
alicE_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.239 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fNzc5AG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:19:31.253 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:31.253 ***
alicE_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.254 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc594401691c4397' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.254 ***
alicE_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.254 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='34e736c653b03377934d61fc37bf0af7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.255 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq id='34e736c653b03377934d61fc37bf0af7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.256 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='a4f4ba9d22855e2c328cfe7c3f0995f1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.257 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq type='result' id='a4f4ba9d22855e2c328cfe7c3f0995f1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.257 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:31.275 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1' to='alice_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:31.276 ***
bOb_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.283 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5db360b4f7a5e29' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.283 ***
bOb_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.283 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzc3OQBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:19:31.289 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:31.289 ***
bOb_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.294 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='03f6cfe0848d1700' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.295 ***
bOb_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.295 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='3e993a74b4d85cf4eb864cf0160aa6d1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.296 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq id='3e993a74b4d85cf4eb864cf0160aa6d1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.296 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='fb5b853be88c388338b65616fe4cad68'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.299 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq type='result' id='fb5b853be88c388338b65616fe4cad68'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.299 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:31.317 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' to='bob_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:31.320 ***
kate_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.331 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0a9412657bd914c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.334 ***
kate_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.334 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl83NzkAbWFrcm93ZTtw</auth>



*** User 2022-03-04 11:19:31.339 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:31.339 ***
kate_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.341 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='36475ff958238038' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.341 ***
kate_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.341 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='89a06371c44af5d14bae4609f8c65de1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.342 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq id='89a06371c44af5d14bae4609f8c65de1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.342 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='4e9a259f07b52c74c075610c716f0e8c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.343 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq type='result' id='4e9a259f07b52c74c075610c716f0e8c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.343 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:31.359 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:31.368 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<presence to='room-7de400afd1@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_779'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-04 11:19:31.368 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<presence to='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-04 11:19:31.368 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<presence to='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-04 11:19:31.388 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='alicE_unread_count_is_the_same_after_going_online_again_779@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_779@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.388 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='alicE_unread_count_is_the_same_after_going_online_again_779@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_779@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.388 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_779' to='alicE_unread_count_is_the_same_after_going_online_again_779@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_779@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.388 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='room-7de400afd1@muc.localhost' to='alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-04 11:19:31.389 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.389 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='room-7de400afd1@muc.localhost' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-04 11:19:31.389 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.389 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_779' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.389 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.389 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.390 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='room-7de400afd1@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-04 11:19:31.390 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.390 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='18fe4ab2deb7641a6fe6277dd2b0c7d6' to='room-7de400afd1@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bOb_unread_count_is_the_same_after_going_online_again_779@localhost' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_779@localhost' affiliation='member'/>
	</query>
</iq>



*** User 2022-03-04 11:19:31.395 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='alicE_unread_count_is_the_same_after_going_online_again_779@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_779@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.395 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='alicE_unread_count_is_the_same_after_going_online_again_779@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_779@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.395 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq from='room-7de400afd1@muc.localhost' to='alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1' id='18fe4ab2deb7641a6fe6277dd2b0c7d6' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-03-04 11:19:31.395 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.395 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='bOb_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.395 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.395 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.396 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<presence type='unavailable' to='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779'/>



*** User 2022-03-04 11:19:31.397 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='alicE_unread_count_is_the_same_after_going_online_again_779@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_779@localhost/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.397 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.397 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.397 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<message to='room-7de400afd1@muc.localhost' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-03-04 11:19:31.408 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-03-04 11:19:31.409 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-03-04 11:19:31.409 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<presence to='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-04 11:19:31.424 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='alicE_unread_count_is_the_same_after_going_online_again_779@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_779@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.425 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.426 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.426 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:19:31.427 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<presence from='room-7de400afd1@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@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-03-04 11:19:31.427 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:31Z' from='room-7de400afd1@muc.localhost'/>
</message>



*** User 2022-03-04 11:19:31.427 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='room-7de400afd1@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-04 11:19:31.427 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='b13bd42bcb445f1f633914ada6c88966'>
	<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-03-04 11:19:31.432 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='bOb_unread_count_is_the_same_after_going_online_again_779@localhost' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' id='5e29325f-411c-423e-bb3c-a773e3e66c97'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='b13bd42bcb445f1f633914ada6c88966'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:31.399925Z'/>
			<message from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='bob_unread_count_is_the_same_after_going_online_again_779@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:31.432 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq from='bOb_unread_count_is_the_same_after_going_online_again_779@localhost' to='bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1' id='b13bd42bcb445f1f633914ada6c88966' 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-03-04 11:19:31.432 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='6b8a4e270378e2ddb9e244db5f538a80'>
	<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-03-04 11:19:31.437 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='alicE_unread_count_is_the_same_after_going_online_again_779@localhost' to='alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1' id='e09f1245-cc75-4dad-b5c8-5e88a6e88ea0'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='6b8a4e270378e2ddb9e244db5f538a80'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:31.398536Z'/>
			<message from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='alice_unread_count_is_the_same_after_going_online_again_779@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:31.437 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq from='alicE_unread_count_is_the_same_after_going_online_again_779@localhost' to='alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1' id='6b8a4e270378e2ddb9e244db5f538a80' 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-03-04 11:19:31.437 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
<iq type='set' id='1eba025f1d20235823fa5e73dbc972ed'>
	<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-03-04 11:19:31.460 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_779@localhost' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' id='5c6e891f-a1ea-4415-b1bd-a23c3370711d'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='1eba025f1d20235823fa5e73dbc972ed'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:31.400588Z'/>
			<message from='room-7de400afd1@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_779' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:31.464 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_779@localhost' to='kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1' id='1eba025f1d20235823fa5e73dbc972ed' 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-03-04 11:19:31.465 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:31.467 ***
kate_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:19:31.468 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:31.469 ***
bOb_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:19:31.469 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:31.476 ***
alicE_unread_count_is_the_same_after_going_online_again_779@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:19:31.480 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-03-04 11:19:31.483 *** View log from node mongooseim@localhost when finished mongooseim@localhost_938.html



=== Ended at 2022-03-04 11:19:31
=== successfully completed test case
=== === Returned value: ok