{"action":"created","issue":{"url":"https://api.github.com/repos/siacs/Conversations/issues/1971","repository_url":"https://api.github.com/repos/siacs/Conversations","labels_url":"https://api.github.com/repos/siacs/Conversations/issues/1971/labels{/name}","comments_url":"https://api.github.com/repos/siacs/Conversations/issues/1971/comments","events_url":"https://api.github.com/repos/siacs/Conversations/issues/1971/events","html_url":"https://github.com/siacs/Conversations/issues/1971","id":167840534,"number":1971,"title":"User presence loss in conference after reconnection","user":{"login":"Mishiranu","id":8524113,"avatar_url":"https://avatars.githubusercontent.com/u/8524113?v=3","gravatar_id":"","url":"https://api.github.com/users/Mishiranu","html_url":"https://github.com/Mishiranu","followers_url":"https://api.github.com/users/Mishiranu/followers","following_url":"https://api.github.com/users/Mishiranu/following{/other_user}","gists_url":"https://api.github.com/users/Mishiranu/gists{/gist_id}","starred_url":"https://api.github.com/users/Mishiranu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mishiranu/subscriptions","organizations_url":"https://api.github.com/users/Mishiranu/orgs","repos_url":"https://api.github.com/users/Mishiranu/repos","events_url":"https://api.github.com/users/Mishiranu/events{/privacy}","received_events_url":"https://api.github.com/users/Mishiranu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-27T12:22:38Z","updated_at":"2016-07-27T15:24:17Z","closed_at":null,"body":"#### General information\r\n\r\n* **Version:** 1.13.6\r\n* **Device:** Android Emulator\r\n* **Android Version:** Android 6.0\r\n* **Server name:** jabber.ru\r\n* **Server software:** ejabberd\r\n* **Conversations source:** self build (at 1.13.6 release commit)\r\n\r\n#### Steps to reproduce\r\n\r\n1. Join a conference\r\n2. Simulate connection loss (e.g. enable and disable flight mode)\r\n3. Wain until account reconnected\r\n4. You are the only user in conference\r\n\r\n#### Debug output\r\n\r\n```\r\n07-27 11:56:56.296: D/conversations(3762): ...: online with resource phone\r\n07-27 11:56:56.296: D/conversations(3762): ...: fetching roster\r\n07-27 11:56:56.301: D/conversations(3762): ...: running mam query with=..., start=2016-07-26T23:56:55.993Z, end=2016-07-27T11:56:55.993Z\r\n07-27 11:56:56.315: D/conversations(3762): ...: successfully enabled carbons\r\n07-27 11:56:57.339: D/conversations(3762): ...: joining conversation ...\r\n07-27 11:56:57.339: D/conversations(3762): ...: fetched muc configuration for ... - [vcard-temp, http://jabber.org/protocol/muc, muc_hidden, muc_persistent, muc_open, muc_semianonymous, muc_moderated, muc_passwordprotected]\r\n07-27 11:56:57.396: D/conversations(3762): ...: finished mam after 0 messages. messages left=true\r\n```\r\n\r\nEvery time I joined conference I received a presence from all users. But after reconnection it seems that I receive only 1 presence packet — it's a presence of mine.\r\n\r\nIs there a way to fix it?"},"comment":{"url":"https://api.github.com/repos/siacs/Conversations/issues/comments/235621125","html_url":"https://github.com/siacs/Conversations/issues/1971#issuecomment-235621125","issue_url":"https://api.github.com/repos/siacs/Conversations/issues/1971","id":235621125,"user":{"login":"Mishiranu","id":8524113,"avatar_url":"https://avatars.githubusercontent.com/u/8524113?v=3","gravatar_id":"","url":"https://api.github.com/users/Mishiranu","html_url":"https://github.com/Mishiranu","followers_url":"https://api.github.com/users/Mishiranu/followers","following_url":"https://api.github.com/users/Mishiranu/following{/other_user}","gists_url":"https://api.github.com/users/Mishiranu/gists{/gist_id}","starred_url":"https://api.github.com/users/Mishiranu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mishiranu/subscriptions","organizations_url":"https://api.github.com/users/Mishiranu/orgs","repos_url":"https://api.github.com/users/Mishiranu/repos","events_url":"https://api.github.com/users/Mishiranu/events{/privacy}","received_events_url":"https://api.github.com/users/Mishiranu/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T15:24:17Z","updated_at":"2016-07-27T15:24:17Z","body":"When I completely commented the line `this.streamId = enabled.getAttribute(\"id\");`, I began to receive a presence from all online users in conference.\r\n\r\nWhen this line it not commented, I receive `<failed xmlns=\"urn:xmpp:sm:3\">` from server after sending `<resume h=\"23\" xmlns=\"urn:xmpp:sm:3\" previd=\"...\"/>` and later I receive only my presence in conference. "}}
{"actor":{"display_login":"Mishiranu"}}