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

=== Config value:

    [{watchdog,<0.34117.0>},
     {inbox_opts,#{boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   backend => rdbms,max_result_limit => infinity,
                   delete_domain_limit => infinity,iqdisc => no_queue,
                   groupchat => [muclight],
                   async_writer => #{pool_size => 8},
                   bin_ttl => 30,bin_clean_after => 3600000,
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true}},
     {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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.inbox_SUITE.logs/run.2023-12-07_07.52.53/inbox_suite.reset_unread_counter_and_show_only_unread.22917.html"},
     {tc_group_properties,[{name,one_to_one},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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.inbox_SUITE.logs/run.2023-12-07_07.52.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_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_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@d3b7dd7159a8.2023-12-07_07.46.41"

=== Started at 2023-12-07 07:52:54


*** CT 2023-12-07 07:52:54.423 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1871.html

*** User 2023-12-07 07:52:54.448 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.448 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c46d635b21f4539' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:52:54.448 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.448 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwOABtYWtyb3dlO3A=</auth>



*** User 2023-12-07 07:52:54.450 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:52:54.450 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.450 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9395b76041c78bc2' from='domain.example.com' version='1.0' xml:lang='en' to='kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com'>

*** User 2023-12-07 07:52:54.450 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.450 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='60e4fbab9937a6b318a5d9d1742668ff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:52:54.450 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq id='60e4fbab9937a6b318a5d9d1742668ff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:52:54.450 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='14a8d117ecab9b5cbd868435618a24b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:52:54.451 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='14a8d117ecab9b5cbd868435618a24b6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:52:54.451 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:52:54.467 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<presence from='kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' to='kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1'/>



*** User 2023-12-07 07:52:54.467 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.525 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75c4b631b209ac1e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:52:54.525 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.525 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwOABuaWNuaWVtYQ==</auth>



*** User 2023-12-07 07:52:54.526 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:52:54.526 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.526 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='abe01c62b894dbfb' from='domain.example.com' version='1.0' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com'>

*** User 2023-12-07 07:52:54.526 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.526 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='ff331fe3ac76cbc2fb99a5fec70cc3d4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:52:54.526 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq id='ff331fe3ac76cbc2fb99a5fec70cc3d4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:52:54.526 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='2ac0664e73f11def0e67348a6a716409'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:52:54.527 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='2ac0664e73f11def0e67348a6a716409' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:52:54.527 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:52:54.543 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<presence from='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1'/>



*** User 2023-12-07 07:52:54.544 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.544 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d7dca80db01f8f5f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:52:54.544 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.544 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc2V0X3VucmVhZF9jb3VudGVyX2FuZF9zaG93X29ubHlfdW5yZWFkXzE0MDgAbWF0eWdyeXNh</auth>



*** User 2023-12-07 07:52:54.545 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:52:54.546 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.546 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2280e459a784803' from='domain.example.com' version='1.0' xml:lang='en' to='alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com'>

*** User 2023-12-07 07:52:54.546 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@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 2023-12-07 07:52:54.546 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='a25accd449de0acf1815f7f3db32f321'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:52:54.546 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq id='a25accd449de0acf1815f7f3db32f321' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:52:54.546 ***🔗
alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='647a8b47c20435e3302b222ee0d237f4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:52:54.547 ***🔗
alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='647a8b47c20435e3302b222ee0d237f4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:52:54.548 ***🔗
alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:52:54.551 ***🔗
alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<presence from='alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' to='alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1'/>



*** User 2023-12-07 07:52:54.551 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<message type='chat' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='3587f1e691c3042afb0b785c66731cee'>
	<body>Test</body>
</message>



*** User 2023-12-07 07:52:54.555 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<message from='kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' type='chat' id='3587f1e691c3042afb0b785c66731cee'>
	<body>Test</body>
</message>



*** User 2023-12-07 07:52:54.555 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='955689ef75fe9811aa63f7a1ab648ed4'>
	<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>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-12-07 07:52:54.557 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='1701-935574-556604'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='955689ef75fe9811aa63f7a1ab648ed4'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-12-07T07:52:54.552025Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='3587f1e691c3042afb0b785c66731cee'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-12-07 07:52:54.557 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='955689ef75fe9811aa63f7a1ab648ed4' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1701935574552025/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDA4QGRvbWFpbi5leGFtcGxlLmNvbQ==</first>
			<last>1701935574552025/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDA4QGRvbWFpbi5leGFtcGxlLmNvbQ==</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-12-07 07:52:54.557 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-12-07 07:52:54.557 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<message to='kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='3587f1e691c3042afb0b785c66731cee'/>
</message>



*** User 2023-12-07 07:52:54.557 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='e1d6009fda65136cd8fd940a3cf4b525'>
	<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>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-12-07 07:52:54.559 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='e1d6009fda65136cd8fd940a3cf4b525' 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 2023-12-07 07:52:54.559 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-12-07 07:52:54.559 ***🔗
alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<message type='chat' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='e0c414f4a62838ce3e686dd032b03df8'>
	<body>Test</body>
</message>



*** User 2023-12-07 07:52:54.563 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<message from='alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' type='chat' id='e0c414f4a62838ce3e686dd032b03df8'>
	<body>Test</body>
</message>



*** User 2023-12-07 07:52:54.563 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='db0660e51492337ab41f8998135343a0'>
	<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>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2023-12-07 07:52:54.624 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='1701-935574-564487'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='db0660e51492337ab41f8998135343a0'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-12-07T07:52:54.559881Z'/>
			<message from='alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='e0c414f4a62838ce3e686dd032b03df8'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-12-07 07:52:54.625 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='db0660e51492337ab41f8998135343a0' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1701935574559881/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwOEBkb21haW4uZXhhbXBsZS5jb20=</first>
			<last>1701935574559881/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwOEBkb21haW4uZXhhbXBsZS5jb20=</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-12-07 07:52:54.625 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-12-07 07:52:54.625 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
<iq type='set' id='0adf47c94f378c4a1bc7d38ee7b030aa'>
	<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 2023-12-07 07:52:54.627 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='1701-935574-626546'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='0adf47c94f378c4a1bc7d38ee7b030aa'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-12-07T07:52:54.559881Z'/>
			<message from='alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='e0c414f4a62838ce3e686dd032b03df8'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-12-07 07:52:54.627 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='1701-935574-626559'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='0adf47c94f378c4a1bc7d38ee7b030aa'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-12-07T07:52:54.552025Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='3587f1e691c3042afb0b785c66731cee'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-12-07 07:52:54.627 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1' id='0adf47c94f378c4a1bc7d38ee7b030aa' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1701935574559881/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwOEBkb21haW4uZXhhbXBsZS5jb20=</first>
			<last>1701935574552025/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDA4QGRvbWFpbi5leGFtcGxlLmNvbQ==</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>2</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2023-12-07 07:52:54.627 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-12-07 07:52:54.627 ***🔗
alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:52:54.628 ***🔗
alice_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-07 07:52:54.628 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:52:54.628 ***🔗
mike_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-07 07:52:54.628 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:52:54.628 ***🔗
kate_reset_unread_counter_and_show_only_unread_1408@domain.example.com/res1 in
</stream:stream>
*** CT 2023-12-07 07:52:54.632 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1871.html



=== Ended at 2023-12-07 07:52:54
=== successfully completed test case
=== === Returned value: ok