Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User not able to send/receive messages after logging in after another user #25

Closed
DDavidPrime opened this issue Sep 7, 2020 · 6 comments

Comments

@DDavidPrime
Copy link

DDavidPrime commented Sep 7, 2020

Specify the sample to which the issue belongs:
[x] Chat sample
[ ] P2P Call sample
[ ] Conference Call sample

Platform:
[x] Android
[x] iOS

Describe the bug:
User is not able to send/receive messages after logging in after another user.

Steps to Reproduce:

  1. Log in as user1
  2. Send message to user3
  3. Logout user1
  4. Log in as user2
  5. Send message to user3

Note: user1, user2 and user3 are not actual users.

Actual result:
After the first user logs out and the second user logs in, the currently logged in user is not able to send/receive messages.

When the user is on the recent chats screen and opens a chat where there are new messages, they are displayed as normal. However, any new incoming messages are not presented, until the user reenter the chat.

After restarting the app, everything is working as intended.

Additional Info
This issue is reproducible in the Chat Sample, but I noticed it as well in a project I was working on.

Logs (click to expand/collapse)
I/flutter (21240): login with usr1 and 12345678
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 70119938-3c95-4a0e-9f60-bbc15f1c1ca0 ===
I/flutter (21240): REQUEST
I/flutter (21240):   POST https://api.connectycube.com/session 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: }
I/flutter (21240): BODY
I/flutter (21240):   {"application_id":"476","auth_key":"PDZjPBzAO8WPfCp","nonce":"3190173840","timestamp":"1599470525","signature":"cd9ce3e998912e33a9a4b18943b9bd5779227635","user":{"login":"usr1","password":"12345678"}}
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 201 *** 70119938-3c95-4a0e-9f60-bbc15f1c1ca0 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=934070f6d34122c4cbef91622e2e65ab--201; path=/; max-age=5; HttpOnly; secure, status: 201 Created, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:22:07 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 23b083da-3dff-4530-a4ad-2d8f239ceb0f, cb-token-expirationdate: 2020-09-07 11:22:07 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.033759, etag: W/"906d575edc8dd7389f2486a8bcb7aef5", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"session":{"id":16824996,"user_id":1890491,"application_id":476,"nonce":3190173840,"token":"b56cc4391fad97bc732a18385edf9c4df00001dc","ts":1599470525,"created_at":"2020-09-07T09:22:07Z","updated_at":"2020-09-07T09:22:07Z","user":{"id":1890491,"full_name":"usr1","email":null,"login":"usr1","phone":null,"website":null,"created_at":"2020-09-07T09:17:12Z","updated_at":"2020-09-07T09:22:07Z","last_request_at":"2020-09-07T09:22:07Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}}}
I/flutter (21240): 
I/flutter (21240): _loginToCubeChat user {full_name: usr1, email: null, login: usr1, phone: null, website: null, last_request_at: 2020-09-07 09:22:07.000Z, external_user_id: null, facebook_id: null, twitter_id: null, password: 12345678, oldPassword: null, custom_data: null, avatar: null, tag_list: null, id: 1890491, created_at: 2020-09-07 09:17:12.000Z, updated_at: 2020-09-07 09:22:07.000Z}
I/flutter (21240): sending: <?xml version='1.0'?>
I/flutter (21240): <stream:stream xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'
I/flutter (21240): to='chat.connectycube.com'
I/flutter (21240): xml:lang='en'
I/flutter (21240): >
I/flutter (21240): State: XmppConnectionState.SocketOpening
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection SocketOpening
I/flutter (21240): response: <xmpp_stone><?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='chat.connectycube.com' id='6870103e-5768-4be7-8f7a-b0e856972a32' version='1.0' xml:lang='en'></stream></xmpp_stone>
I/flutter (21240): processInitialStream
I/flutter (21240): response: <xmpp_stone><stream:features><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>PLAIN_FAST</mechanism></mechanisms><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features></xmpp_stone>
I/flutter (21240): Negotating features
I/flutter (21240): ELEMENT true
I/flutter (21240): negotiating starttls
I/flutter (21240): sending: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/></xmpp_stone>
I/flutter (21240): startSecureSocket
I/flutter (21240): XmppConnectionState.SocketOpening
I/flutter (21240): sending: <?xml version='1.0'?>
I/flutter (21240): <stream:stream xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'
I/flutter (21240): to='chat.connectycube.com'
I/flutter (21240): xml:lang='en'
I/flutter (21240): >
I/flutter (21240): response: <xmpp_stone><?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='chat.connectycube.com' id='6870103e-5768-4be7-8f7a-b0e856972a32' version='1.0' xml:lang='en'></stream></xmpp_stone>
I/flutter (21240): processInitialStream
I/flutter (21240): response: <xmpp_stone><stream:features><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>PLAIN_FAST</mechanism></mechanisms><ver xmlns="urn:xmpp:features:rosterver"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features></xmpp_stone>
I/flutter (21240): Negotating features
I/flutter (21240): ELEMENT true
I/flutter (21240): sending: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">ADE4OTA0OTEtNDc2ADEyMzQ1Njc4</auth>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/></xmpp_stone>
I/flutter (21240): sending: <?xml version='1.0'?>
I/flutter (21240): <stream:stream xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'
I/flutter (21240): to='chat.connectycube.com'
I/flutter (21240): xml:lang='en'
I/flutter (21240): >
I/flutter (21240): State: XmppConnectionState.Authenticated
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection Authenticated
I/flutter (21240): ELEMENT true
I/flutter (21240): sending: <enable xmlns="urn:xmpp:sm:3" resume="true"/>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='chat.connectycube.com' id='6870103e-5768-4be7-8f7a-b0e856972a32' version='1.0' xml:lang='en'></stream></xmpp_stone>
I/flutter (21240): processInitialStream
I/flutter (21240): response: <xmpp_stone><enabled xmlns='urn:xmpp:sm:3' id='d3811e71-c0e4-4411-aeb5-98a080bf0237' resume='true' max='60' location='localhost' /></xmpp_stone>
I/flutter (21240): DONE PARSING FATURES
I/flutter (21240): State: XmppConnectionState.DoneParsingFeatures
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection DoneParsingFeatures
I/flutter (21240): response: <xmpp_stone><stream:features><sm xmlns="urn:xmpp:sm:3"/><mobile xmlns="http://tigase.org/protocol/mobile#v2"/><ver xmlns="urn:xmpp:features:rosterver"/><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"/></stream:features></xmpp_stone>
I/flutter (21240): Negotating features
I/flutter (21240): ELEMENT true
I/flutter (21240): sending: <iq id="MCTHQWHBV" type="set">
I/flutter (21240):   <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
I/flutter (21240):     <resource>flutter_4f41f6be2c5b6aff</resource>
I/flutter (21240):   </bind>
I/flutter (21240): </iq>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="0"/>
I/flutter (21240): response: <xmpp_stone><iq id="MCTHQWHBV" type="result" xmlns="jabber:client" to="1890491-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>1890491-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff</jid></bind></iq></xmpp_stone>
I/flutter (21240): ELEMENT false
I/flutter (21240): ELEMENT true
I/flutter (21240): sending: <iq id="KKVODWULY" type="set" to="chat.connectycube.com">
I/flutter (21240):   <session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
I/flutter (21240): </iq>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="1"/>
I/flutter (21240): response: <xmpp_stone><iq id="KKVODWULY" type="result" to="1890491-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff" xmlns="jabber:client" from="chat.connectycube.com"/></xmpp_stone>
I/flutter (21240): State: XmppConnectionState.SessionInitialized
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection SessionInitialized
I/flutter (21240): sending: <iq id="PAMQDHFSO" type="get" from="1890491-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff" to="chat.connectycube.com">
I/flutter (21240):   <query xmlns="http://jabber.org/protocol/disco#info"/>
I/flutter (21240): </iq>
I/flutter (21240): ELEMENT false
I/flutter (21240): No elements
I/flutter (21240): DONE PARSING FATURES
I/flutter (21240): State: XmppConnectionState.DoneParsingFeatures
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection DoneParsingFeatures
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="2"/>
I/flutter (21240): response: <xmpp_stone><iq id="PAMQDHFSO" type="result" to="1890491-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff" xmlns="jabber:client" from="chat.connectycube.com"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="im" category="component" name="App Chat ver. 2.1.0-0"/><identity type="im" category="server" name="App Chat ver. 2.1.0-0"/><feature var="http://jabber.org/protocol/commands"/><feature var="urn:xmpp:carbons:2"/><feature var="http://jabber.org/protocol/stats"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="urn:xmpp:ping"/><feature var="urn:ietf:params:xml:ns:xmpp-sasl"/><feature var="jabber:iq:roster"/><feature var="jabber:iq:roster-dynamic"/><feature var="jabber:iq:privacy"/><feature var="urn:ietf:params:xml:ns:xmpp-bind"/><feature var="http://jabber.org/protocol/commands"/><feature var="jabber:iq:last"/><feature var="urn:ietf:
I/flutter (21240): State: XmppConnectionState.DoneServiceDiscovery
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection DoneServiceDiscovery
I/flutter (21240): State: XmppConnectionState.Ready
I/flutter (21240): sending: <iq id="KTVNIHBFG" type="get">
I/flutter (21240):   <query xmlns="jabber:iq:roster"/>
I/flutter (21240): </iq>
I/flutter (21240): sending: <presence/>
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection Ready
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 777014f9-c3b5-4c11-90ae-ace04cd6db82 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/chat/Dialog 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: b56cc4391fad97bc732a18385edf9c4df00001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="3"/>
I/flutter (21240): response: <xmpp_stone><iq id="KTVNIHBFG" type="result" xmlns="jabber:client" to="1890491-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff"><query xmlns="jabber:iq:roster"/></iq></xmpp_stone>
I/flutter (21240): RosterListChanged: []
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="4"/>
I/flutter (21240): response: <xmpp_stone><presence to="1890491-476@chat.connectycube.com" xmlns="jabber:client" from="1890491-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff"/></xmpp_stone>
I/flutter (21240): No id found for stanza
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="5"/>
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 777014f9-c3b5-4c11-90ae-ace04cd6db82 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=facdc3d249351f1638b6c0ad617aee64--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:22:10 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 317cfa16-ed1d-4154-afa1-0729e58211aa, cb-token-expirationdate: 2020-09-07 11:22:06 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.020962, etag: W/"f6359bf753fc5213460f8a6eaa9234b6", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"total_entries":0,"skip":0,"limit":100,"items":[]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: _BodyLayoutState: getDialogs: {currentPage: null, totalEntries: 0, perPage: null, skip: 0, limit: 100, items: []}
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): Delivered: MCTHQWHBV
I/flutter (21240): Delivered: KKVODWULY
I/flutter (21240): Delivered: PAMQDHFSO
I/flutter (21240): Delivered: KTVNIHBFG
I/flutter (21240): Delivered stanza without id presence
I/flutter (21240): CB-SDK: : initState
W/IInputConnectionWrapper(21240): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(21240): getTextAfterCursor on inactive InputConnection
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): CB-SDK: : searchUser _user= usr3
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 4cf68801-d7eb-4f98-bccb-3113c7eef1d6 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/users/by_full_name?full_name=usr3 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: b56cc4391fad97bc732a18385edf9c4df00001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 4cf68801-d7eb-4f98-bccb-3113c7eef1d6 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=16c4e354c520bd6509b98ec7dd7e4b48--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:22:22 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 58cc30db-2a7d-4496-83b2-3bf8d0cec288, cb-token-expirationdate: 2020-09-07 11:22:06 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.017778, etag: W/"5115161c757cb621a894c88c219577fd", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"current_page":1,"per_page":10,"total_entries":1,"items":[{"user":{"id":1890495,"full_name":"usr3","email":null,"login":"usr3","phone":null,"website":null,"created_at":"2020-09-07T09:17:47Z","updated_at":"2020-09-07T09:21:44Z","last_request_at":"2020-09-07T09:21:44Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}}]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: _BodyLayoutState: getusers: {currentPage: 1, totalEntries: 1, perPage: 10, skip: null, limit: null, items: [{full_name: usr3, email: null, login: usr3, phone: null, website: null, last_request_at: 2020-09-07 09:21:44.000Z, external_user_id: null, facebook_id: null, twitter_id: null, password: null, oldPassword: null, custom_data: null, avatar: null, tag_list: null, id: 1890495, created_at: 2020-09-07 09:17:47.000Z, updated_at: 2020-09-07 09:21:44.000Z}]}
I/flutter (21240): CB-SDK: : _createDialog with users= {1890495}
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== bbb76002-bb4d-4f25-b34a-e4b010116cde ===
I/flutter (21240): REQUEST
I/flutter (21240):   POST https://api.connectycube.com/chat/Dialog 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: b56cc4391fad97bc732a18385edf9c4df00001dc}
I/flutter (21240): BODY
I/flutter (21240):   {"type":3,"occupants_ids":[1890495]}
I/flutter (21240): 
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 201 *** bbb76002-bb4d-4f25-b34a-e4b010116cde ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=e3f92312292a586284d39a2b4de68153--201; path=/; max-age=5; HttpOnly; secure, status: 201 Created, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:22:24 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: c3ff71c4-0709-4b73-a742-fb798e7ce02c, cb-token-expirationdate: 2020-09-07 11:22:06 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.054601, etag: W/"c96cbfdd384bd10c8b9f902107f922e0", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"_id":"5f55fbd0ca8bf4404898aba4","admins_ids":[],"created_at":"2020-09-07T09:22:24Z","description":null,"last_message":null,"last_message_date_sent":null,"last_message_id":null,"last_message_user_id":null,"name":"usr3","occupants_ids":[1890491,1890495],"photo":null,"pinned_messages_ids":[],"type":3,"updated_at":"2020-09-07T09:22:24Z","user_id":1890491,"unread_messages_count":0,"xmpp_room_jid":null}
I/flutter (21240): 
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 2786fd83-ba83-49fc-a5fa-ec6756e8a764 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/chat/Message?chat_dialog_id=5f55fbd0ca8bf4404898aba4&sort_desc=date_sent 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: b56cc4391fad97bc732a18385edf9c4df00001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 81dcf09c-648e-4c13-ae66-e64cd695ded5 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/users?filter[]=number%20id%20in%201890491%2C1890495 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: b56cc4391fad97bc732a18385edf9c4df00001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 2786fd83-ba83-49fc-a5fa-ec6756e8a764 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=ae94af67ffcb12469fc9564f24b6f37a--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:22:25 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: a26bf8ec-5433-46cb-be7c-30a4bccdfe2a, cb-token-expirationdate: 2020-09-07 11:22:07 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.023034, etag: W/"592deb9e5ec798f0d7f9abfc2cc027ba", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"skip":0,"limit":100,"items":[]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 81dcf09c-648e-4c13-ae66-e64cd695ded5 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=870defec48d21238809d673a5ce7a50b--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:22:25 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 49dfad83-beb6-4ab0-8778-921e1c9b8d70, cb-token-expirationdate: 2020-09-07 11:22:07 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.021975, etag: W/"4c6c66cf9710d80a74056f25772b84a8", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"current_page":1,"per_page":10,"total_entries":2,"items":[{"user":{"id":1890491,"full_name":"usr1","email":null,"login":"usr1","phone":null,"website":null,"created_at":"2020-09-07T09:17:12Z","updated_at":"2020-09-07T09:22:07Z","last_request_at":"2020-09-07T09:22:07Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}},{"user":{"id":1890495,"full_name":"usr3","email":null,"login":"usr3","phone":null,"website":null,"created_at":"2020-09-07T09:17:47Z","updated_at":"2020-09-07T09:21:44Z","last_request_at":"2020-09-07T09:21:44Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}}]}
I/flutter (21240): 
W/IInputConnectionWrapper(21240): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(21240): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(21240): getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper(21240): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(21240): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(21240): endBatchEdit on inactive InputConnection
I/ter.chat_sampl(21240): NativeAlloc concurrent copying GC freed 26846(1181KB) AllocSpace objects, 8(416KB) LOS objects, 54% free, 1279KB/2815KB, paused 5.559ms total 66.062ms
I/flutter (21240): sending: <message id="YAPUVMBHY" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="UXORWWMLI" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="JDOLVJLYE" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="RSVPLDSLH" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='9'/></xmpp_stone>
I/flutter (21240): Delivered: YAPUVMBHY
I/flutter (21240): Delivered: UXORWWMLI
I/flutter (21240): Delivered: JDOLVJLYE
I/flutter (21240): Delivered: RSVPLDSLH
I/flutter (21240): sending: <message id="SKEWCJLBR" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="QVDSNMWTB" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="JQGBUNGFK" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="OAQHEIMHA" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="SBGCJPXNI" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="EQRDCVIRQ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="JIIMPYFYL" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): CB-SDK: : onSendMessage message= {_id: 5f55fbd88a8e96a466834a6f, chat_dialog_id: null, message: Hey there, date_sent: 1599470552, sender_id: null, recipient_id: null, read_ids: null, delivered_ids: null, views_count: null, attachments: null, id: null, created_at: null, updated_at: null}
I/flutter (21240): sending: <message id="5f55fbd88a8e96a466834a6f" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <body>Hey there</body>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <date_sent>1599470552</date_sent>
I/flutter (21240):     <save_to_history>1</save_to_history>
I/flutter (21240):     <dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240):   <markable xmlns="urn:xmpp:chat-markers:0"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='17'/></xmpp_stone>
I/flutter (21240): Delivered: SKEWCJLBR
I/flutter (21240): Delivered: QVDSNMWTB
I/flutter (21240): Delivered: JQGBUNGFK
I/flutter (21240): Delivered: OAQHEIMHA
I/flutter (21240): Delivered: SBGCJPXNI
I/flutter (21240): Delivered: EQRDCVIRQ
I/flutter (21240): Delivered: JIIMPYFYL
I/flutter (21240): Delivered: 5f55fbd88a8e96a466834a6f
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='17'/></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="NJEFVEWXL" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <displayed xmlns="urn:xmpp:chat-markers:0" id="5f55fbd88a8e96a466834a6f"/><extraParams xmlns="jabber:client">
I/flutter (21240):   <dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id></extraParams></message></xmpp_stone>
I/flutter (21240): CB-SDK: : onReadMessage message= 5f55fbd88a8e96a466834a6f
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="6"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="VTBSXTRHL" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="7"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="ADVXADIKR" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="8"/>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='17'/></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="YYFWOVXAF" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="9"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="DSFFHLWCV" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="10"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="BUVYCFHCT" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="11"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="5f55fbe620e3312b074de0a8" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <body>hello</body><extraParams xmlns="jabber:client">
I/flutter (21240):   <date_sent>1599470566</date_sent><save_to_history>1</save_to_history><dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id><message_id>5f55fbe620e3312b074de0a8</message_id></extraParams><markable xmlns="urn:xmpp:chat-markers:0"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : Receive PRIVATE chat message
I/flutter (21240): CB-SDK: : onReceiveMessage global message= {_id: 5f55fbe620e3312b074de0a8, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: hello, date_sent: 1599470566, sender_id: 1890495, recipient_id: 1890491, read_ids: null, delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbe620e3312b074de0a8}
I/flutter (21240): CB-SDK: : onReceiveMessage message= {_id: 5f55fbe620e3312b074de0a8, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: hello, date_sent: 1599470566, sender_id: 1890495, recipient_id: 1890491, read_ids: null, delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbe620e3312b074de0a8}
I/flutter (21240): sending: <message id="GQQMKUEDM" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <displayed xmlns="urn:xmpp:chat-markers:0" id="5f55fbe620e3312b074de0a8"/>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240): </message>
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fbe620e3312b074de0a8, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: hello, date_sent: 1599470566, sender_id: 1890495, recipient_id: 1890491, read_ids: null, delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbe620e3312b074de0a8}, isOpponentMsgRead= false
I/flutter (21240): sending: <message id="XNQEGWTLV" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <displayed xmlns="urn:xmpp:chat-markers:0" id="5f55fbe620e3312b074de0a8"/>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240): </message>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="12"/>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='19'/></xmpp_stone>
I/flutter (21240): Delivered: GQQMKUEDM
I/flutter (21240): Delivered: XNQEGWTLV
I/flutter (21240): sending: <message id="BQJFICVXM" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="IUOHCWVVL" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="VWXGGRMTY" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="LJHLCBMEX" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="TXESAYXUF" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="BFLOESSND" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="GFCCSUJKM" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="VETIMIAPX" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): sending: <message id="HNTJJCXGG" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='27'/></xmpp_stone>
I/flutter (21240): Delivered: BQJFICVXM
I/flutter (21240): Delivered: IUOHCWVVL
I/flutter (21240): Delivered: VWXGGRMTY
I/flutter (21240): Delivered: LJHLCBMEX
I/flutter (21240): Delivered: TXESAYXUF
I/flutter (21240): Delivered: BFLOESSND
I/flutter (21240): Delivered: GFCCSUJKM
I/flutter (21240): Delivered: VETIMIAPX
I/flutter (21240): sending: <message id="WUAOPCFAJ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="IYFTCFYRX" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="ODBHJEYPQ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="TTWQNSONP" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="WWQHDFIKQ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="LSUMIJGXR" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="NETKJAISF" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): CB-SDK: : onSendMessage message= {_id: 5f55fbf08a8e96a466834a70, chat_dialog_id: null, message: nice to meet you, date_sent: 1599470576, sender_id: null, recipient_id: null, read_ids: null, delivered_ids: null, views_count: null, attachments: null, id: null, created_at: null, updated_at: null}
I/flutter (21240): sending: <message id="5f55fbf08a8e96a466834a70" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <body>nice to meet you</body>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <date_sent>1599470576</date_sent>
I/flutter (21240):     <save_to_history>1</save_to_history>
I/flutter (21240):     <dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240):   <markable xmlns="urn:xmpp:chat-markers:0"/>
I/flutter (21240): </message>
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fbe620e3312b074de0a8, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: hello, date_sent: 1599470566, sender_id: 1890495, recipient_id: 1890491, read_ids: [1890491], delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbe620e3312b074de0a8}, isOpponentMsgRead= true
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="RKVEICQCE" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <displayed xmlns="urn:xmpp:chat-markers:0" id="5f55fbf08a8e96a466834a70"/><extraParams xmlns="jabber:client">
I/flutter (21240):   <dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id></extraParams></message></xmpp_stone>
I/flutter (21240): CB-SDK: : onReadMessage message= 5f55fbf08a8e96a466834a70
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fbe620e3312b074de0a8, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: hello, date_sent: 1599470566, sender_id: 1890495, recipient_id: 1890491, read_ids: [1890491], delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbe620e3312b074de0a8}, isOpponentMsgRead= true
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="13"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="WCNWEOHIJ" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <displayed xmlns="urn:xmpp:chat-markers:0" id="5f55fbf08a8e96a466834a70"/><extraParams xmlns="jabber:client">
I/flutter (21240):   <dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id></extraParams></message></xmpp_stone>
I/flutter (21240): CB-SDK: : onReadMessage message= 5f55fbf08a8e96a466834a70
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="14"/>
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fbe620e3312b074de0a8, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: hello, date_sent: 1599470566, sender_id: 1890495, recipient_id: 1890491, read_ids: [1890491], delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbe620e3312b074de0a8}, isOpponentMsgRead= true
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='36'/></xmpp_stone>
I/flutter (21240): Delivered: HNTJJCXGG
I/flutter (21240): Delivered: WUAOPCFAJ
I/flutter (21240): Delivered: IYFTCFYRX
I/flutter (21240): Delivered: ODBHJEYPQ
I/flutter (21240): Delivered: TTWQNSONP
I/flutter (21240): Delivered: WWQHDFIKQ
I/flutter (21240): Delivered: LSUMIJGXR
I/flutter (21240): Delivered: NETKJAISF
I/flutter (21240): Delivered: 5f55fbf08a8e96a466834a70
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="QAFESXUNN" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fbe620e3312b074de0a8, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: hello, date_sent: 1599470566, sender_id: 1890495, recipient_id: 1890491, read_ids: [1890491], delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbe620e3312b074de0a8}, isOpponentMsgRead= true
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="15"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="QIHYQTSEJ" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="16"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="GOOHITWXU" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="17"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="ITXFSUPDC" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="18"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="NABQMONVL" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="19"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="XSQXBHIFL" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="20"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='36'/></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="XTFGOEOGM" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : TypingStatus message= 1890495
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="21"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="5f55fbf920e3312b074de0a9" to="1890491-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <body>you too</body><extraParams xmlns="jabber:client">
I/flutter (21240):   <date_sent>1599470585</date_sent><save_to_history>1</save_to_history><dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id><message_id>5f55fbf920e3312b074de0a9</message_id></extraParams><markable xmlns="urn:xmpp:chat-markers:0"/></message></xmpp_stone>
I/flutter (21240): CB-SDK: : Receive PRIVATE chat message
I/flutter (21240): CB-SDK: : onReceiveMessage global message= {_id: 5f55fbf920e3312b074de0a9, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: you too, date_sent: 1599470585, sender_id: 1890495, recipient_id: 1890491, read_ids: null, delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbf920e3312b074de0a9}
I/flutter (21240): CB-SDK: : onReceiveMessage message= {_id: 5f55fbf920e3312b074de0a9, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: you too, date_sent: 1599470585, sender_id: 1890495, recipient_id: 1890491, read_ids: null, delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbf920e3312b074de0a9}
I/flutter (21240): sending: <message id="GDIXROPLN" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <displayed xmlns="urn:xmpp:chat-markers:0" id="5f55fbf920e3312b074de0a9"/>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240): </message>
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fbf920e3312b074de0a9, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: you too, date_sent: 1599470585, sender_id: 1890495, recipient_id: 1890491, read_ids: null, delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbf920e3312b074de0a9}, isOpponentMsgRead= false
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fbe620e3312b074de0a8, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: hello, date_sent: 1599470566, sender_id: 1890495, recipient_id: 1890491, read_ids: [1890491], delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbe620e3312b074de0a8}, isOpponentMsgRead= true
I/flutter (21240): sending: <message id="ODTOSIKWD" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <displayed xmlns="urn:xmpp:chat-markers:0" id="5f55fbf920e3312b074de0a9"/>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <dialog_id>5f55fbd0ca8bf4404898aba4</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240): </message>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="22"/>
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fbf920e3312b074de0a9, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: you too, date_sent: 1599470585, sender_id: 1890495, recipient_id: 1890491, read_ids: [1890491], delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbf920e3312b074de0a9}, isOpponentMsgRead= true
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fbe620e3312b074de0a8, chat_dialog_id: 5f55fbd0ca8bf4404898aba4, message: hello, date_sent: 1599470566, sender_id: 1890495, recipient_id: 1890491, read_ids: [1890491], delivered_ids: null, views_count: null, attachments: [], id: null, created_at: null, updated_at: null, save_to_history: 1, dialog_id: 5f55fbd0ca8bf4404898aba4, message_id: 5f55fbe620e3312b074de0a8}, isOpponentMsgRead= true
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 82a58f10-9ebd-47df-b266-5c69dd3912bb ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/chat/Dialog 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: b56cc4391fad97bc732a18385edf9c4df00001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 82a58f10-9ebd-47df-b266-5c69dd3912bb ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=95b4716fe8c0c5454e7e1af100ea60fa--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:23:09 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: c707cf04-b927-4db3-a8b2-10cae8c42e32, cb-token-expirationdate: 2020-09-07 11:22:07 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.020932, etag: W/"3d1e53b739b9cff50227fedf7a2b0324", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"total_entries":1,"skip":0,"limit":100,"items":[{"_id":"5f55fbd0ca8bf4404898aba4","admins_ids":[],"created_at":"2020-09-07T09:22:24Z","description":null,"last_message":"you too","last_message_date_sent":1599470585,"last_message_id":"5f55fbf920e3312b074de0a9","last_message_user_id":1890495,"name":"usr3","occupants_ids":[1890491,1890495],"photo":null,"pinned_messages_ids":[],"type":3,"updated_at":"2020-09-07T09:23:05Z","user_id":1890491,"unread_messages_count":0,"xmpp_room_jid":null}]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: _BodyLayoutState: getDialogs: {currentPage: null, totalEntries: 1, perPage: null, skip: 0, limit: 100, items: [{_id: 5f55fbd0ca8bf4404898aba4, last_message: you too, last_message_date_sent: 1599470585, last_message_user_id: 1890495, photo: null, user_id: 1890491, xmpp_room_jid: null, unread_messages_count: 0, name: usr3, type: 3, description: null, occupants_count: null, occupants_ids: [1890491, 1890495], pinned_messages_ids: [], admins_ids: [], data: null, id: null, created_at: 2020-09-07 09:22:24.000Z, updated_at: 2020-09-07 09:23:05.000Z}]}
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='38'/></xmpp_stone>
I/flutter (21240): Delivered: GDIXROPLN
I/flutter (21240): Delivered: ODTOSIKWD
I/flutter (21240): _logout usr1 and usr1
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='38'/></xmpp_stone>
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== ad987593-3035-4c6c-82ea-87788f5400ea ===
I/flutter (21240): REQUEST
I/flutter (21240):   DELETE https://api.connectycube.com/login 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: b56cc4391fad97bc732a18385edf9c4df00001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** ad987593-3035-4c6c-82ea-87788f5400ea ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: no-cache, set-cookie: _mkra_ctxt=60a1db3f3066f0d874d60eb3840d7b49--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:23:15 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 1c352996-cf3b-47ab-ae52-24e0ebb4e881, cb-token-expirationdate: 2020-09-07 11:22:06 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.013190, x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): State: XmppConnectionState.Closed
I/flutter (21240): response: <xmpp_stone></stream:stream></stream></xmpp_stone>
I/flutter (21240): !!!!!!!!!!!Handle secured connection done
I/flutter (21240): login with usr2 and 12345678
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 08408695-51dc-419c-93e4-1ea9864c1e9f ===
I/flutter (21240): REQUEST
I/flutter (21240):   POST https://api.connectycube.com/session 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: b56cc4391fad97bc732a18385edf9c4df00001dc}
I/flutter (21240): BODY
I/flutter (21240):   {"application_id":"476","auth_key":"PDZjPBzAO8WPfCp","nonce":"888631289","timestamp":"1599470607","signature":"d39a407d3c2159171d7a9a95f04e0eb264db0fb1","user":{"login":"usr2","password":"12345678"}}
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 201 *** 08408695-51dc-419c-93e4-1ea9864c1e9f ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=6557bb59def3ce9e2d5d575d018a9a91--201; path=/; max-age=5; HttpOnly; secure, status: 201 Created, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:23:29 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 3f62c39f-228a-4966-9c0b-269e4f5179e9, cb-token-expirationdate: 2020-09-07 11:23:28 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.034976, etag: W/"39cfe7d9dbe45eca5666eca1dcc3ff28", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"session":{"id":16825030,"user_id":1890492,"application_id":476,"nonce":888631289,"token":"41f7dfde4cc1aea0e537227120772cb7920001dc","ts":1599470607,"created_at":"2020-09-07T09:23:29Z","updated_at":"2020-09-07T09:23:29Z","user":{"id":1890492,"full_name":"usr2","email":null,"login":"usr2","phone":null,"website":null,"created_at":"2020-09-07T09:17:30Z","updated_at":"2020-09-07T09:23:29Z","last_request_at":"2020-09-07T09:23:29Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}}}
I/flutter (21240): 
I/flutter (21240): _loginToCubeChat user {full_name: usr2, email: null, login: usr2, phone: null, website: null, last_request_at: 2020-09-07 09:23:29.000Z, external_user_id: null, facebook_id: null, twitter_id: null, password: 12345678, oldPassword: null, custom_data: null, avatar: null, tag_list: null, id: 1890492, created_at: 2020-09-07 09:17:30.000Z, updated_at: 2020-09-07 09:23:29.000Z}
I/flutter (21240): sending: <?xml version='1.0'?>
I/flutter (21240): <stream:stream xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'
I/flutter (21240): to='chat.connectycube.com'
I/flutter (21240): xml:lang='en'
I/flutter (21240): >
I/flutter (21240): State: XmppConnectionState.SocketOpening
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection SocketOpening
I/flutter (21240): response: <xmpp_stone><?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='chat.connectycube.com' id='6c8eb48f-e2ee-4784-a4b4-59dd7a1fd459' version='1.0' xml:lang='en'></stream></xmpp_stone>
I/flutter (21240): processInitialStream
I/flutter (21240): response: <xmpp_stone><stream:features><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>PLAIN_FAST</mechanism></mechanisms><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features></xmpp_stone>
I/flutter (21240): Negotating features
I/flutter (21240): ELEMENT true
I/flutter (21240): negotiating starttls
I/flutter (21240): sending: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/></xmpp_stone>
I/flutter (21240): startSecureSocket
I/flutter (21240): XmppConnectionState.SocketOpening
I/flutter (21240): sending: <?xml version='1.0'?>
I/flutter (21240): <stream:stream xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'
I/flutter (21240): to='chat.connectycube.com'
I/flutter (21240): xml:lang='en'
I/flutter (21240): >
I/flutter (21240): response: <xmpp_stone><?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='chat.connectycube.com' id='6c8eb48f-e2ee-4784-a4b4-59dd7a1fd459' version='1.0' xml:lang='en'></stream></xmpp_stone>
I/flutter (21240): processInitialStream
I/flutter (21240): response: <xmpp_stone><stream:features><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>PLAIN_FAST</mechanism></mechanisms><ver xmlns="urn:xmpp:features:rosterver"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features></xmpp_stone>
I/flutter (21240): Negotating features
I/flutter (21240): ELEMENT true
I/flutter (21240): sending: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">ADE4OTA0OTItNDc2ADEyMzQ1Njc4</auth>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/></xmpp_stone>
I/flutter (21240): sending: <?xml version='1.0'?>
I/flutter (21240): <stream:stream xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'
I/flutter (21240): to='chat.connectycube.com'
I/flutter (21240): xml:lang='en'
I/flutter (21240): >
I/flutter (21240): State: XmppConnectionState.Authenticated
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection Authenticated
I/flutter (21240): ELEMENT true
I/flutter (21240): sending: <enable xmlns="urn:xmpp:sm:3" resume="true"/>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='chat.connectycube.com' id='6c8eb48f-e2ee-4784-a4b4-59dd7a1fd459' version='1.0' xml:lang='en'></stream></xmpp_stone>
I/flutter (21240): processInitialStream
I/flutter (21240): response: <xmpp_stone><enabled xmlns='urn:xmpp:sm:3' id='3f1492f1-ab48-4dfe-9038-f886b7d31721' resume='true' max='60' location='localhost' /></xmpp_stone>
I/flutter (21240): DONE PARSING FATURES
I/flutter (21240): State: XmppConnectionState.DoneParsingFeatures
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection DoneParsingFeatures
I/flutter (21240): response: <xmpp_stone><stream:features><sm xmlns="urn:xmpp:sm:3"/><mobile xmlns="http://tigase.org/protocol/mobile#v2"/><ver xmlns="urn:xmpp:features:rosterver"/><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"/></stream:features></xmpp_stone>
I/flutter (21240): Negotating features
I/flutter (21240): ELEMENT true
I/flutter (21240): sending: <iq id="EQXWWLGMF" type="set">
I/flutter (21240):   <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
I/flutter (21240):     <resource>flutter_4f41f6be2c5b6aff</resource>
I/flutter (21240):   </bind>
I/flutter (21240): </iq>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="0"/>
I/flutter (21240): response: <xmpp_stone><iq id="EQXWWLGMF" type="result" xmlns="jabber:client" to="1890492-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>1890492-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff</jid></bind></iq></xmpp_stone>
I/flutter (21240): ELEMENT false
I/flutter (21240): ELEMENT true
I/flutter (21240): sending: <iq id="LUUJBKBJU" type="set" to="chat.connectycube.com">
I/flutter (21240):   <session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
I/flutter (21240): </iq>
I/flutter (21240): Feature Started Parsing
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="1"/>
I/flutter (21240): response: <xmpp_stone><iq id="LUUJBKBJU" type="result" to="1890492-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff" xmlns="jabber:client" from="chat.connectycube.com"/></xmpp_stone>
I/flutter (21240): State: XmppConnectionState.SessionInitialized
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection SessionInitialized
I/flutter (21240): sending: <iq id="EAOJVPGAM" type="get" from="1890492-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff" to="chat.connectycube.com">
I/flutter (21240):   <query xmlns="http://jabber.org/protocol/disco#info"/>
I/flutter (21240): </iq>
I/flutter (21240): ELEMENT false
I/flutter (21240): No elements
I/flutter (21240): DONE PARSING FATURES
I/flutter (21240): State: XmppConnectionState.DoneParsingFeatures
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection DoneParsingFeatures
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="2"/>
I/flutter (21240): response: <xmpp_stone><iq id="EAOJVPGAM" type="result" to="1890492-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff" xmlns="jabber:client" from="chat.connectycube.com"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="im" category="component" name="App Chat ver. 2.1.0-0"/><identity type="im" category="server" name="App Chat ver. 2.1.0-0"/><feature var="http://jabber.org/protocol/commands"/><feature var="urn:xmpp:carbons:2"/><feature var="http://jabber.org/protocol/stats"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="urn:xmpp:ping"/><feature var="urn:ietf:params:xml:ns:xmpp-sasl"/><feature var="jabber:iq:roster"/><feature var="jabber:iq:roster-dynamic"/><feature var="jabber:iq:privacy"/><feature var="urn:ietf:params:xml:ns:xmpp-bind"/><feature var="http://jabber.org/protocol/commands"/><feature var="jabber:iq:last"/><feature var="urn:ietf:
I/flutter (21240): State: XmppConnectionState.DoneServiceDiscovery
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection DoneServiceDiscovery
I/flutter (21240): State: XmppConnectionState.Ready
I/flutter (21240): sending: <iq id="DIHHLBVVV" type="get">
I/flutter (21240):   <query xmlns="jabber:iq:roster"/>
I/flutter (21240): </iq>
I/flutter (21240): sending: <presence/>
I/flutter (21240): CB-SDK: CubeChatConnection: Chat connection Ready
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 84f324c1-a8fe-4018-b8be-18e1dbab8737 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/chat/Dialog 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="3"/>
I/flutter (21240): response: <xmpp_stone><iq id="DIHHLBVVV" type="result" xmlns="jabber:client" to="1890492-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff"><query xmlns="jabber:iq:roster"/></iq></xmpp_stone>
I/flutter (21240): RosterListChanged: []
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="4"/>
I/flutter (21240): response: <xmpp_stone><presence to="1890492-476@chat.connectycube.com" xmlns="jabber:client" from="1890492-476@chat.connectycube.com/flutter_4f41f6be2c5b6aff"/></xmpp_stone>
I/flutter (21240): No id found for stanza
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="5"/>
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 84f324c1-a8fe-4018-b8be-18e1dbab8737 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=29e66e0d997ef364b7471458a31e595e--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:23:32 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: d742e902-fee5-4044-b1fb-0699605d5cc1, cb-token-expirationdate: 2020-09-07 11:23:28 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.017616, etag: W/"f6359bf753fc5213460f8a6eaa9234b6", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"total_entries":0,"skip":0,"limit":100,"items":[]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: _BodyLayoutState: getDialogs: {currentPage: null, totalEntries: 0, perPage: null, skip: 0, limit: 100, items: []}
I/flutter (21240): CB-SDK: : initState
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): Delivered: EQXWWLGMF
I/flutter (21240): Delivered: LUUJBKBJU
I/flutter (21240): Delivered: EAOJVPGAM
I/flutter (21240): Delivered: DIHHLBVVV
I/flutter (21240): Delivered stanza without id presence
I/flutter (21240): CB-SDK: : searchUser _user= usr3
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 61e3a027-463f-4104-a269-033cd9ef332e ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/users/by_full_name?full_name=usr3 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 61e3a027-463f-4104-a269-033cd9ef332e ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=7164875f1a746ae7e8b1a6487a2a9b4e--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:23:39 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 301704ee-6c5c-43eb-8225-10140e57233c, cb-token-expirationdate: 2020-09-07 11:23:29 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.018466, etag: W/"5115161c757cb621a894c88c219577fd", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"current_page":1,"per_page":10,"total_entries":1,"items":[{"user":{"id":1890495,"full_name":"usr3","email":null,"login":"usr3","phone":null,"website":null,"created_at":"2020-09-07T09:17:47Z","updated_at":"2020-09-07T09:21:44Z","last_request_at":"2020-09-07T09:21:44Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}}]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: _BodyLayoutState: getusers: {currentPage: 1, totalEntries: 1, perPage: 10, skip: null, limit: null, items: [{full_name: usr3, email: null, login: usr3, phone: null, website: null, last_request_at: 2020-09-07 09:21:44.000Z, external_user_id: null, facebook_id: null, twitter_id: null, password: null, oldPassword: null, custom_data: null, avatar: null, tag_list: null, id: 1890495, created_at: 2020-09-07 09:17:47.000Z, updated_at: 2020-09-07 09:21:44.000Z}]}
I/flutter (21240): CB-SDK: : _createDialog with users= {1890495}
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== fb4f61c3-bc3e-4318-b553-9e90ac980b77 ===
I/flutter (21240): REQUEST
I/flutter (21240):   POST https://api.connectycube.com/chat/Dialog 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   {"type":3,"occupants_ids":[1890495]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 201 *** fb4f61c3-bc3e-4318-b553-9e90ac980b77 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=a4ea8f20a8d897c0033d2742f4121c2e--201; path=/; max-age=5; HttpOnly; secure, status: 201 Created, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:23:41 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 7df96512-b28d-48f6-96ee-c68f16655a56, cb-token-expirationdate: 2020-09-07 11:23:29 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.051600, etag: W/"e6c21b90a5d842606bd40b4625d7e129", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"_id":"5f55fc1dca8bf41fe598b7f3","admins_ids":[],"created_at":"2020-09-07T09:23:41Z","description":null,"last_message":null,"last_message_date_sent":null,"last_message_id":null,"last_message_user_id":null,"name":"usr3","occupants_ids":[1890492,1890495],"photo":null,"pinned_messages_ids":[],"type":3,"updated_at":"2020-09-07T09:23:41Z","user_id":1890492,"unread_messages_count":0,"xmpp_room_jid":null}
I/flutter (21240): 
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 5b9efd8c-c98d-486f-9c2f-3a205ed65e95 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/chat/Message?chat_dialog_id=5f55fc1dca8bf41fe598b7f3&sort_desc=date_sent 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 23eded9b-aa7a-4068-b0b3-ad1dbe32c470 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/users?filter[]=number%20id%20in%201890492%2C1890495 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 5b9efd8c-c98d-486f-9c2f-3a205ed65e95 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=2e017c90eee893332e2c0950418d19b3--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:23:41 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 5b4072fc-c47b-484e-8504-64f89b38673c, cb-token-expirationdate: 2020-09-07 11:23:28 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.022586, etag: W/"592deb9e5ec798f0d7f9abfc2cc027ba", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"skip":0,"limit":100,"items":[]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 23eded9b-aa7a-4068-b0b3-ad1dbe32c470 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=cc4f1c7a2d37ced08e48174cafd719a3--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:23:41 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 03467818-8acd-4bf1-bf5c-c391bdfe96cd, cb-token-expirationdate: 2020-09-07 11:23:28 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.021714, etag: W/"eaed3b688c1e84309325474eecc43de9", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"current_page":1,"per_page":10,"total_entries":2,"items":[{"user":{"id":1890492,"full_name":"usr2","email":null,"login":"usr2","phone":null,"website":null,"created_at":"2020-09-07T09:17:30Z","updated_at":"2020-09-07T09:23:29Z","last_request_at":"2020-09-07T09:23:29Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}},{"user":{"id":1890495,"full_name":"usr3","email":null,"login":"usr3","phone":null,"website":null,"created_at":"2020-09-07T09:17:47Z","updated_at":"2020-09-07T09:21:44Z","last_request_at":"2020-09-07T09:21:44Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}}]}
I/flutter (21240): 
W/IInputConnectionWrapper(21240): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(21240): endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(21240): setComposingRegion on inactive InputConnection
I/flutter (21240): sending: <message id="NDOFERMSW" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="XWQKHDJIT" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="FFHQVTVDY" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="RVSMCCDBU" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="QYWQDNGBH" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="XQFKAVIVI" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="NMCEHQMMX" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="UXUARYJHT" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): sending: <message id="NAOGUNXQK" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="OYTTYTDMI" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="GHMNGTQKR" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="GHQNKWWLU" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="XFKVJEQDU" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="SKBTFUAMK" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="DQLIUXPDP" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="PSRBNIIWF" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="WOBGRMDGL" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="REJOCSLLY" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): CB-SDK: : onSendMessage message= {_id: 5f55fc258a8e96a466834a71, chat_dialog_id: null, message: Hi there and hello, date_sent: 1599470629, sender_id: null, recipient_id: null, read_ids: null, delivered_ids: null, views_count: null, attachments: null, id: null, created_at: null, updated_at: null}
I/flutter (21240): sending: <message id="5f55fc258a8e96a466834a71" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <body>Hi there and hello</body>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <date_sent>1599470629</date_sent>
I/flutter (21240):     <save_to_history>1</save_to_history>
I/flutter (21240):     <dialog_id>5f55fc1dca8bf41fe598b7f3</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240):   <markable xmlns="urn:xmpp:chat-markers:0"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="QQGVNUNCM" to="1890492-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="6"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="JTWTIWODC" to="1890492-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="7"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="FMJUVAWME" to="1890492-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="8"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="VHWDARUOY" to="1890492-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="9"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="WCBHXTXOL" to="1890492-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="10"/>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="GUYJUAQFP" to="1890492-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <composing xmlns="http://jabber.org/protocol/chatstates"/></message></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="11"/>
I/flutter (21240): response: <xmpp_stone><message type="chat" xmlns="jabber:client" id="5f55fc3820e3312b074de0aa" to="1890492-476@chat.connectycube.com" from="1890495-476@chat.connectycube.com/flutter_e1aa3c373d15f66e">
I/flutter (21240): <body>hello?</body><extraParams xmlns="jabber:client">
I/flutter (21240):   <date_sent>1599470648</date_sent><save_to_history>1</save_to_history><dialog_id>5f55fc1dca8bf41fe598b7f3</dialog_id><message_id>5f55fc3820e3312b074de0aa</message_id></extraParams><markable xmlns="urn:xmpp:chat-markers:0"/></message></xmpp_stone>
I/flutter (21240): response: <xmpp_stone><r xmlns='urn:xmpp:sm:3' /></xmpp_stone>
I/flutter (21240): sending: <a xmlns="urn:xmpp:sm:3" h="12"/>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 3e03a3ea-9b58-4494-85b5-589a6bf4d287 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/chat/Dialog 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 3e03a3ea-9b58-4494-85b5-589a6bf4d287 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=c4d5bfc64b116a35eec45ef60dbf94e4--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:24:15 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 95228f8a-e877-473e-9a59-470326175162, cb-token-expirationdate: 2020-09-07 11:23:29 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.019641, etag: W/"9a9b814347cf27c9683244bc477ee2f6", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"total_entries":1,"skip":0,"limit":100,"items":[{"_id":"5f55fc1dca8bf41fe598b7f3","admins_ids":[],"created_at":"2020-09-07T09:23:41Z","description":null,"last_message":"hello?","last_message_date_sent":1599470648,"last_message_id":"5f55fc3820e3312b074de0aa","last_message_user_id":1890495,"name":"usr3","occupants_ids":[1890492,1890495],"photo":null,"pinned_messages_ids":[],"type":3,"updated_at":"2020-09-07T09:24:08Z","user_id":1890492,"unread_messages_count":1,"xmpp_room_jid":null}]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: _BodyLayoutState: getDialogs: {currentPage: null, totalEntries: 1, perPage: null, skip: 0, limit: 100, items: [{_id: 5f55fc1dca8bf41fe598b7f3, last_message: hello?, last_message_date_sent: 1599470648, last_message_user_id: 1890495, photo: null, user_id: 1890492, xmpp_room_jid: null, unread_messages_count: 1, name: usr3, type: 3, description: null, occupants_count: null, occupants_ids: [1890492, 1890495], pinned_messages_ids: [], admins_ids: [], data: null, id: null, created_at: 2020-09-07 09:23:41.000Z, updated_at: 2020-09-07 09:24:08.000Z}]}
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): CB-SDK: : _openDialog= {_id: 5f55fc1dca8bf41fe598b7f3, last_message: hello?, last_message_date_sent: 1599470648, last_message_user_id: 1890495, photo: null, user_id: 1890492, xmpp_room_jid: null, unread_messages_count: 1, name: usr3, type: 3, description: null, occupants_count: null, occupants_ids: [1890492, 1890495], pinned_messages_ids: [], admins_ids: [], data: null, id: null, created_at: 2020-09-07 09:23:41.000Z, updated_at: 2020-09-07 09:24:08.000Z}
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 5784856e-c965-4faa-9adc-d1468702b17a ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/chat/Message?chat_dialog_id=5f55fc1dca8bf41fe598b7f3&sort_desc=date_sent 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== a569c2fb-a670-480f-a11f-7365dacfbb79 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/users?filter[]=number%20id%20in%201890492%2C1890495 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 5784856e-c965-4faa-9adc-d1468702b17a ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=0dfc8fb1c85b132571a44cc87e87d51e--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:24:17 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: f68fdcf4-03a9-43aa-9b97-5d8ffc763ac2, cb-token-expirationdate: 2020-09-07 11:23:29 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.025187, etag: W/"018afcdeb02dad0586e4b652ed3133df", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"skip":0,"limit":100,"items":[{"_id":"5f55fc3820e3312b074de0aa","attachments":[],"chat_dialog_id":"5f55fc1dca8bf41fe598b7f3","created_at":"2020-09-07T09:24:08Z","date_sent":1599470648,"delivered_ids":[1890495],"message":"hello?","read_ids":[1890495],"recipient_id":1890492,"sender_id":1890495,"updated_at":"2020-09-07T09:24:08Z","views_count":0,"read":1}]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** a569c2fb-a670-480f-a11f-7365dacfbb79 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=be78387837d4d7dea8fb63b04324c45c--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:24:17 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: fae83f5b-cfbf-4d19-82d4-d861aae5cc4d, cb-token-expirationdate: 2020-09-07 11:23:29 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.022475, etag: W/"eaed3b688c1e84309325474eecc43de9", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"current_page":1,"per_page":10,"total_entries":2,"items":[{"user":{"id":1890492,"full_name":"usr2","email":null,"login":"usr2","phone":null,"website":null,"created_at":"2020-09-07T09:17:30Z","updated_at":"2020-09-07T09:23:29Z","last_request_at":"2020-09-07T09:23:29Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}},{"user":{"id":1890495,"full_name":"usr3","email":null,"login":"usr3","phone":null,"website":null,"created_at":"2020-09-07T09:17:47Z","updated_at":"2020-09-07T09:21:44Z","last_request_at":"2020-09-07T09:21:44Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}}]}
I/flutter (21240): 
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fc3820e3312b074de0aa, chat_dialog_id: 5f55fc1dca8bf41fe598b7f3, message: hello?, date_sent: 1599470648, sender_id: 1890495, recipient_id: 1890492, read_ids: [1890495], delivered_ids: [1890495], views_count: 0, attachments: [], id: null, created_at: 2020-09-07 09:24:08.000Z, updated_at: 2020-09-07 09:24:08.000Z}, isOpponentMsgRead= false
I/flutter (21240): sending: <message id="DTULVMNGJ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <displayed xmlns="urn:xmpp:chat-markers:0" id="5f55fc3820e3312b074de0aa"/>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <dialog_id>5f55fc1dca8bf41fe598b7f3</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240): </message>
W/IInputConnectionWrapper(21240): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(21240): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(21240): getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper(21240): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(21240): endBatchEdit on inactive InputConnection
I/flutter (21240): sending: <message id="DBVUNXKJE" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="YSLIQOMIT" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="IWWNSTNER" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="DBCHYBNWN" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="WKLBGDQBS" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="PNKLMHGGV" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="VMFJKMVVX" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="LBHSGVJRQ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="MGBCSTFXF" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): sending: <message id="WJLFSXWDX" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): CB-SDK: : onSendMessage message= {_id: 5f55fc468a8e96a466834a72, chat_dialog_id: null, message: hi there, date_sent: 1599470662, sender_id: null, recipient_id: null, read_ids: null, delivered_ids: null, views_count: null, attachments: null, id: null, created_at: null, updated_at: null}
I/flutter (21240): sending: <message id="5f55fc468a8e96a466834a72" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <body>hi there</body>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <date_sent>1599470662</date_sent>
I/flutter (21240):     <save_to_history>1</save_to_history>
I/flutter (21240):     <dialog_id>5f55fc1dca8bf41fe598b7f3</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240):   <markable xmlns="urn:xmpp:chat-markers:0"/>
I/flutter (21240): </message>
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fc3820e3312b074de0aa, chat_dialog_id: 5f55fc1dca8bf41fe598b7f3, message: hello?, date_sent: 1599470648, sender_id: 1890495, recipient_id: 1890492, read_ids: [1890495, 1890492], delivered_ids: [1890495], views_count: 0, attachments: [], id: null, created_at: 2020-09-07 09:24:08.000Z, updated_at: 2020-09-07 09:24:08.000Z}, isOpponentMsgRead= true
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): sending: <message id="NKEFABJJQ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="YYXLOGHBX" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="UMKGCTSOC" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="BSQCSCYKK" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="XXQWXBHFM" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="JMTRCPBOS" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="MPVKAGORC" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="QMYYGTVAY" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="XGHLFRXTC" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="OQVBQDLAJ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="UTLMEGRDV" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="NUUEIEQKE" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="EQQRORKUU" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="APCLSAEAP" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="PUXCOUNBQ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="YTGCVXTIY" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="CXHLGPDYJ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="XLMXFTGFJ" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="NKFENJQQU" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="LBQHVXYRE" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="JEEPBWBVW" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="INEDWDKWM" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <message id="RESALPCVX" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <composing xmlns="http://jabber.org/protocol/chatstates"/>
I/flutter (21240): </message>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): CB-SDK: : onSendMessage message= {_id: 5f55fc598a8e96a466834a73, chat_dialog_id: null, message: I can't send messages!!!, date_sent: 1599470681, sender_id: null, recipient_id: null, read_ids: null, delivered_ids: null, views_count: null, attachments: null, id: null, created_at: null, updated_at: null}
I/flutter (21240): sending: <message id="5f55fc598a8e96a466834a73" type="chat" to="1890495-476@chat.connectycube.com">
I/flutter (21240):   <body>I can't send messages!!!</body>
I/flutter (21240):   <extraParams xmlns="jabber:client">
I/flutter (21240):     <date_sent>1599470681</date_sent>
I/flutter (21240):     <save_to_history>1</save_to_history>
I/flutter (21240):     <dialog_id>5f55fc1dca8bf41fe598b7f3</dialog_id>
I/flutter (21240):   </extraParams>
I/flutter (21240):   <markable xmlns="urn:xmpp:chat-markers:0"/>
I/flutter (21240): </message>
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fc3820e3312b074de0aa, chat_dialog_id: 5f55fc1dca8bf41fe598b7f3, message: hello?, date_sent: 1599470648, sender_id: 1890495, recipient_id: 1890492, read_ids: [1890495, 1890492], delivered_ids: [1890495], views_count: 0, attachments: [], id: null, created_at: 2020-09-07 09:24:08.000Z, updated_at: 2020-09-07 09:24:08.000Z}, isOpponentMsgRead= true
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== a7ca4549-1c91-496b-82f7-99e8a8b6b96b ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/chat/Dialog 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** a7ca4549-1c91-496b-82f7-99e8a8b6b96b ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=c58b26982fcc0ab53f42ffedc1d7a1ef--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:24:48 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 99b6d3a6-ef04-44c5-986d-c2559553398b, cb-token-expirationdate: 2020-09-07 11:23:28 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.026721, etag: W/"9573bbd086a16e70b431586eb21cabab", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"total_entries":1,"skip":0,"limit":100,"items":[{"_id":"5f55fc1dca8bf41fe598b7f3","admins_ids":[],"created_at":"2020-09-07T09:23:41Z","description":null,"last_message":"hello?","last_message_date_sent":1599470648,"last_message_id":"5f55fc3820e3312b074de0aa","last_message_user_id":1890495,"name":"usr3","occupants_ids":[1890492,1890495],"photo":null,"pinned_messages_ids":[],"type":3,"updated_at":"2020-09-07T09:24:08Z","user_id":1890492,"unread_messages_count":0,"xmpp_room_jid":null}]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: _BodyLayoutState: getDialogs: {currentPage: null, totalEntries: 1, perPage: null, skip: 0, limit: 100, items: [{_id: 5f55fc1dca8bf41fe598b7f3, last_message: hello?, last_message_date_sent: 1599470648, last_message_user_id: 1890495, photo: null, user_id: 1890492, xmpp_room_jid: null, unread_messages_count: 0, name: usr3, type: 3, description: null, occupants_count: null, occupants_ids: [1890492, 1890495], pinned_messages_ids: [], admins_ids: [], data: null, id: null, created_at: 2020-09-07 09:23:41.000Z, updated_at: 2020-09-07 09:24:08.000Z}]}
I/flutter (21240): CB-SDK: : _openDialog= {_id: 5f55fc1dca8bf41fe598b7f3, last_message: hello?, last_message_date_sent: 1599470648, last_message_user_id: 1890495, photo: null, user_id: 1890492, xmpp_room_jid: null, unread_messages_count: 0, name: usr3, type: 3, description: null, occupants_count: null, occupants_ids: [1890492, 1890495], pinned_messages_ids: [], admins_ids: [], data: null, id: null, created_at: 2020-09-07 09:23:41.000Z, updated_at: 2020-09-07 09:24:08.000Z}
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== 39736177-bfb2-4b13-a904-72aa6540696d ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/chat/Message?chat_dialog_id=5f55fc1dca8bf41fe598b7f3&sort_desc=date_sent 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : =========================================================
I/flutter (21240): === REQUEST ==== f2858ed2-efea-4518-8305-5ba917965552 ===
I/flutter (21240): REQUEST
I/flutter (21240):   GET https://api.connectycube.com/users?filter[]=number%20id%20in%201890492%2C1890495 
I/flutter (21240): HEADERS
I/flutter (21240):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 0.4.0, CB-Token: 41f7dfde4cc1aea0e537227120772cb7920001dc}
I/flutter (21240): BODY
I/flutter (21240):   
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** 39736177-bfb2-4b13-a904-72aa6540696d ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=b6d9cc88e72ad1a6bf76c4667bd3ac6f--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:24:50 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: fc00e6d1-f346-471a-ad84-b8055f84a37b, cb-token-expirationdate: 2020-09-07 11:23:28 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.026039, etag: W/"7bbeb25e7dac09f5ef821b9291fc80e5", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"skip":0,"limit":100,"items":[{"_id":"5f55fc3820e3312b074de0aa","attachments":[],"chat_dialog_id":"5f55fc1dca8bf41fe598b7f3","created_at":"2020-09-07T09:24:08Z","date_sent":1599470648,"delivered_ids":[1890495,1890492],"message":"hello?","read_ids":[1890495,1890492],"recipient_id":1890492,"sender_id":1890495,"updated_at":"2020-09-07T09:24:17Z","views_count":0,"read":1}]}
I/flutter (21240): 
I/flutter (21240): CB-SDK: : *********************************************************
I/flutter (21240): *** RESPONSE *** 200 *** f2858ed2-efea-4518-8305-5ba917965552 ***
I/flutter (21240): HEADERS
I/flutter (21240):   {connection: keep-alive, cache-control: max-age=0, private, must-revalidate, set-cookie: _mkra_ctxt=cddab889125bf163be6a2f236e73d9de--200; path=/; max-age=5; HttpOnly; secure, status: 200 OK, transfer-encoding: chunked, date: Mon, 07 Sep 2020 09:24:50 GMT, access-control-allow-origin: *, strict-transport-security: max-age=31536000,max-age=15768000;, content-type: application/json; charset=utf-8, x-xss-protection: 1; mode=block, server: nginx/1.16.1, x-request-id: 654ed371-d47e-45a4-80a0-6f074289b2b7, cb-token-expirationdate: 2020-09-07 11:23:28 UTC, connectycube-rest-api-version: 0.1.1, x-runtime: 0.023424, etag: W/"eaed3b688c1e84309325474eecc43de9", x-frame-options: SAMEORIGIN, x-content-type-options: nosniff}
I/flutter (21240): BODY
I/flutter (21240):   {"current_page":1,"per_page":10,"total_entries":2,"items":[{"user":{"id":1890492,"full_name":"usr2","email":null,"login":"usr2","phone":null,"website":null,"created_at":"2020-09-07T09:17:30Z","updated_at":"2020-09-07T09:23:29Z","last_request_at":"2020-09-07T09:23:29Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}},{"user":{"id":1890495,"full_name":"usr3","email":null,"login":"usr3","phone":null,"website":null,"created_at":"2020-09-07T09:17:47Z","updated_at":"2020-09-07T09:21:44Z","last_request_at":"2020-09-07T09:21:44Z","external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"avatar":null,"user_tags":null}}]}
I/flutter (21240): 
I/flutter (21240): markAsReadIfNeed message= {_id: 5f55fc3820e3312b074de0aa, chat_dialog_id: 5f55fc1dca8bf41fe598b7f3, message: hello?, date_sent: 1599470648, sender_id: 1890495, recipient_id: 1890492, read_ids: [1890495, 1890492], delivered_ids: [1890495, 1890492], views_count: 0, attachments: [], id: null, created_at: 2020-09-07 09:24:08.000Z, updated_at: 2020-09-07 09:24:17.000Z}, isOpponentMsgRead= true
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
I/flutter (21240): sending: <r xmlns="urn:xmpp:sm:3"/>
I/flutter (21240): response: <xmpp_stone><a xmlns='urn:xmpp:sm:3' h='5'/></xmpp_stone>
@TatankaConCube
Copy link
Contributor

thank you for your report, we found an issue on the SDK side and now we are working on it, this issue will be fixed in the next SDK release

@TatankaConCube
Copy link
Contributor

@DDavidPrime today we released version 0.4.1 with required fixes. Please check and close this ticket if your issue resolved.

Note: To totally destroy the chat connection and internal managers use the destroy() method instead of logout().

@DDavidPrime
Copy link
Author

@TatankaConCube Thanks for your quick update and fixes regarding the sdk. I have tested it and it does partially fix the problem. By that I mean that it is working fine on p2p chats.
However, the group chat is still not working as intended using the steps to reproduce from the original post (instead of writing to user3, this can be applied to a group of users). After the second user logs in, he is not able to send the messages.
This issue is reproducible in the chat sample.

@TatankaConCube
Copy link
Contributor

oh, thank you for this info, we will continue work on this issue

@TatankaConCube
Copy link
Contributor

@TatankaConCube Thanks for your quick update and fixes regarding the sdk. I have tested it and it does partially fix the problem. By that I mean that it is working fine on p2p chats.
However, the group chat is still not working as intended using the steps to reproduce from the original post (instead of writing to user3, this can be applied to a group of users). After the second user logs in, he is not able to send the messages.
This issue is reproducible in the chat sample.

hello @DDavidPrime, today we released version 0.4.2 with required fixes. Please check this issue on it.

@DDavidPrime
Copy link
Author

Confirming that the issue is solved with the version 0.4.2. Thank you for your efforts. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants