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

=== Config value:

    [{watchdog,<0.36031.0>},
     {inbox_opts,#{backend => rdbms_async,
                   groupchat => [muclight],
                   iqdisc => no_queue,
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   delete_domain_limit => infinity,bin_ttl => 30,
                   bin_clean_after => 3600000,max_result_limit => infinity,
                   async_writer => #{pool_size => 1}}},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@843bff14d7d2.2024-04-25_14.57.08/big_tests.tests.inbox_SUITE.logs/run.2024-04-25_15.05.34/inbox_suite.reset_unread_counter_and_show_only_unread.82434.html"},
     {tc_group_properties,[{name,one_to_one},parallel]},
     {tc_group_path,[[{name,async_pools}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@843bff14d7d2.2024-04-25_14.57.08/big_tests.tests.inbox_SUITE.logs/run.2024-04-25_15.05.34/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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_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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{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_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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@843bff14d7d2.2024-04-25_14.57.08"

=== Started at 2024-04-25 15:05:38


*** CT 2024-04-25 15:05:38.123 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2066.html

*** User 2024-04-25 15:05:38.153 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:05:38.154 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d6330c026ffb1c9f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 15:05:38.154 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 15:05:38.154 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTUyMQBtYWtyb3dlO3A=</auth>



*** User 2024-04-25 15:05:38.157 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 15:05:38.157 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:05:38.198 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='040ce34585247082' from='localhost' version='1.0' xml:lang='en' to='kate_reset_unread_counter_and_show_only_unread_1521@localhost'>

*** User 2024-04-25 15:05:38.198 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 15:05:38.199 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='9eb1e62cd2304ccec57f7f20b775e272'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 15:05:38.199 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq id='9eb1e62cd2304ccec57f7f20b775e272' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 15:05:38.199 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='49dae3192929be8eece89ab5eca5fded'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:05:38.200 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq from='localhost' to='kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='49dae3192929be8eece89ab5eca5fded' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:05:38.200 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<presence/>



*** User 2024-04-25 15:05:38.212 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<presence from='kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1' to='kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1'/>



*** User 2024-04-25 15:05:38.213 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:05:38.213 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='075476a00289d51d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 15:05:38.214 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 15:05:38.214 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTUyMQBuaWNuaWVtYQ==</auth>



*** User 2024-04-25 15:05:38.215 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 15:05:38.215 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:05:38.216 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a884d3ca08078538' from='localhost' version='1.0' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost'>

*** User 2024-04-25 15:05:38.216 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 15:05:38.216 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='47de0cc7e874cd6a9bdf835ae8e8ea72'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 15:05:38.216 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq id='47de0cc7e874cd6a9bdf835ae8e8ea72' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 15:05:38.216 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='53c70c0bbaa2fede09b6fdba798cdf58'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:05:38.217 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq from='localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='53c70c0bbaa2fede09b6fdba798cdf58' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:05:38.218 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<presence/>



*** User 2024-04-25 15:05:38.228 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<presence from='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1'/>



*** User 2024-04-25 15:05:38.229 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:05:38.230 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e2bc87fd29fd0f1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 15:05:38.230 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 15:05:38.230 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc2V0X3VucmVhZF9jb3VudGVyX2FuZF9zaG93X29ubHlfdW5yZWFkXzE1MjEAbWF0eWdyeXNh</auth>



*** User 2024-04-25 15:05:38.231 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 15:05:38.231 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:05:38.231 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a29a3124a255f48' from='localhost' version='1.0' xml:lang='en' to='alice_reset_unread_counter_and_show_only_unread_1521@localhost'>

*** User 2024-04-25 15:05:38.231 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 15:05:38.231 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='b0f1489a728b77d74761c2d5b7b0310c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 15:05:38.231 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq id='b0f1489a728b77d74761c2d5b7b0310c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 15:05:38.232 ***🔗
alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='fb395b6d2b535524c91f7daea101e348'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:05:38.232 ***🔗
alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq from='localhost' to='alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='fb395b6d2b535524c91f7daea101e348' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:05:38.232 ***🔗
alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<presence/>



*** User 2024-04-25 15:05:38.236 ***🔗
alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<presence from='alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1' to='alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1'/>



*** User 2024-04-25 15:05:38.236 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<message type='chat' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='10315c8200111bc6cf7dcf8934e5ac80'>
	<body>Test</body>
</message>



*** User 2024-04-25 15:05:38.238 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<message from='kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' type='chat' id='10315c8200111bc6cf7dcf8934e5ac80'>
	<body>Test</body>
</message>



*** User 2024-04-25 15:05:38.238 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='3c7e7b1c894fca9141be62f59ca28169'>
	<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 2024-04-25 15:05:38.298 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='1714-57538-239876'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='3c7e7b1c894fca9141be62f59ca28169'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T15:05:38.236651Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='10315c8200111bc6cf7dcf8934e5ac80'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-04-25 15:05:38.298 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='3c7e7b1c894fca9141be62f59ca28169' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1714057538236651/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNTIxQGxvY2FsaG9zdA==</first>
			<last>1714057538236651/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNTIxQGxvY2FsaG9zdA==</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-25 15:05:38.298 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-04-25 15:05:38.298 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<message to='kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='10315c8200111bc6cf7dcf8934e5ac80'/>
</message>



*** User 2024-04-25 15:05:38.298 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='5275df895cedd2f4868c7b63b94983ce'>
	<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 2024-04-25 15:05:38.300 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='1714-57538-299721'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='5275df895cedd2f4868c7b63b94983ce'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T15:05:38.236651Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='10315c8200111bc6cf7dcf8934e5ac80'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-04-25 15:05:38.300 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='5275df895cedd2f4868c7b63b94983ce' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1714057538236651/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNTIxQGxvY2FsaG9zdA==</first>
			<last>1714057538236651/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNTIxQGxvY2FsaG9zdA==</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-25 15:05:38.400 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='5275df895cedd2f4868c7b63b94983ce'>
	<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 2024-04-25 15:05:38.402 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='5275df895cedd2f4868c7b63b94983ce' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'/>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-04-25 15:05:38.402 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-04-25 15:05:38.402 ***🔗
alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<message type='chat' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='40bc57d818a789c4f33657a4dae4b998'>
	<body>Test</body>
</message>



*** User 2024-04-25 15:05:38.403 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<message from='alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' type='chat' id='40bc57d818a789c4f33657a4dae4b998'>
	<body>Test</body>
</message>



*** User 2024-04-25 15:05:38.404 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='ebdc738c7db63d234e75ec5b279d7794'>
	<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 2024-04-25 15:05:38.405 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='1714-57538-404857'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='ebdc738c7db63d234e75ec5b279d7794'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T15:05:38.402958Z'/>
			<message from='alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='40bc57d818a789c4f33657a4dae4b998'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-04-25 15:05:38.405 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='ebdc738c7db63d234e75ec5b279d7794' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1714057538402958/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTUyMUBsb2NhbGhvc3Q=</first>
			<last>1714057538402958/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTUyMUBsb2NhbGhvc3Q=</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-25 15:05:38.405 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-04-25 15:05:38.405 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
<iq type='set' id='1264d5ca0cc1d898a4ea86f2d4a094ff'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-04-25 15:05:38.406 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='1714-57538-406478'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='1264d5ca0cc1d898a4ea86f2d4a094ff'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T15:05:38.402958Z'/>
			<message from='alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='40bc57d818a789c4f33657a4dae4b998'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-04-25 15:05:38.407 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='1714-57538-406494'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='1264d5ca0cc1d898a4ea86f2d4a094ff'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T15:05:38.236651Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='10315c8200111bc6cf7dcf8934e5ac80'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-04-25 15:05:38.407 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1521@localhost' to='mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1' id='1264d5ca0cc1d898a4ea86f2d4a094ff' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1714057538402958/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTUyMUBsb2NhbGhvc3Q=</first>
			<last>1714057538236651/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNTIxQGxvY2FsaG9zdA==</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>2</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-04-25 15:05:38.407 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-04-25 15:05:38.407 ***🔗
alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
</stream:stream>

*** User 2024-04-25 15:05:38.407 ***🔗
alice_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
</stream:stream>

*** User 2024-04-25 15:05:38.408 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
</stream:stream>

*** User 2024-04-25 15:05:38.408 ***🔗
mike_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
</stream:stream>

*** User 2024-04-25 15:05:38.408 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 out
</stream:stream>

*** User 2024-04-25 15:05:38.408 ***🔗
kate_reset_unread_counter_and_show_only_unread_1521@localhost/res1 in
</stream:stream>
*** CT 2024-04-25 15:05:38.411 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2066.html



=== Ended at 2024-04-25 15:05:38
=== successfully completed test case
=== === Returned value: ok